This project is set up for technical interview practice using Deno 2.4.2.
This project uses mise as the preferred way to interact with the repository. Mise will handle setting up the correct Deno version and environment.
Install mise if you haven't already:
curl https://mise.run | sh
- Clone the repository
- Navigate to the project directory
- Run
mise install
to install the correct Deno version - You're ready to go!
problems/
- Directory containing all interview problemssolutions/
- Generated solutions from problem implementationsscripts/
- Utility scripts for analyzing and extracting solutions
Each problem file contains:
- An empty function wrapper representing the problem to implement (prefixed with
problem_
) - A series of
Deno.test
tests that verify the solution - Everything in a single file per problem
To run tests for a specific problem:
mise exec -- deno test problems/problem-name.ts
To run all tests:
mise exec -- deno test problems/
If you prefer not to use mise, ensure you have Deno 2.4.2+ installed:
deno test problems/problem-name.ts # Specific problem
deno test problems/ # All problems
- Create a new file in the
problems/
directory - Add an empty function wrapper for the problem
- Write comprehensive tests using
Deno.test
- Keep everything in a single file
- Deno 2.4.2 or later (automatically managed by mise)
- Only use dependencies from JSR or NPM (no HTTP package imports)
- Follow latest Deno best practices