Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Live Coding Tasks

The repo contains a couple of coding tasks ranging from easy to hard.

Prerequisites

  • nodejs 20+ (but any other JS runtime is fine as well)
  • git

The use of other code quality tools is encouraged.

Structure

The directory tasks contains the tasks. Each task has its own directory with corresponding number.

It is expected that tasks will be done in order.

Each directory contains:

  • main.js - the solution is expected here
  • main.test.js - some basic tests to check the solution
  • README.md - the task description

Feel free to change any of given files.

Goal

Make sure to pass existing tests with npm test and provide clear reasoning for the solution.

Tips

Run test cases with:

node --test

command

Optionally, you can specify wildcard to run only specific tests and files:

node --test --test-name-pattern="returns 6" tasks/01/main.test.js 

Note that all provided code was written for nodejs 20. If you wish to use other runtime, make sure to port code to it.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages