Silly solutions for silly problems.
Every solution is O(1) because types don't exist at runtime.
This is entirely for the sake of some fun and chaos with types 🤪.
bun install
To Add a New Problem:
Add a new problem solution into the problems
folder. Make sure the filename matches the url of the corresponding leetcode link.
For example: problems/merge-sorted-array.ts
for https://leetcode.com/problems/merge-sorted-array
To see the generated site and view all of the solutions:
bun install
bun dev
type-samurai: for the very helpful utility types associated with solving these problems.