This repository contains my solutions to John Crickett's Coding Challenges. The challenges are available at https://codingchallenges.fyi/challenges/intro.
Language used - Typescript
Checkout my Notion where I share how I tackled these challenges, along with my learnings.
- Write your own wc tool
- Write your own JSON parser
- Write Your own Compression Tool
- Write Your own cut Tool
- Write Your own Load Balancer
- Write Your own Sort Tool
- Write Your own Calculator
- Write Your own Redis Server
- Write your own grep
- Write Your own uniq Tool
- Write Your own Web Server
- Write Your own URL Shortener
- Write Your own diff Tool
- Write Your own Shell
- Write Your own cat Tool
- Write Your own IRC Client
- Write Your own Memcached Server
- Write Your own Spotify Client
- Write Your own Discord Bot
- Write Your own LinkedIn Carousel Generator
- Write Your own Sed
- Write Your own DNS Resolver
- Write Your own Traceroute
- Write Your own Realtime Chat Client and Server - Duplicate of Write Your Own IRC Client
- Write Your own NATS Message Broker
- Write Your own Git
- Write Your own Rate Limiter
- Write Your own NTP Client
...
The following command will build all the .ts files present in the src
folder into a new build
folder.
npm install
npm run build
The following command will run all the tests under the __tests__
folder and create the coverage report in the coverage
folder.
All the required test input files are in the individual __tests__
folder for each challenge.
npm test
To run tests for a specific challenge, use the following command:
# npm test src/<challenge-number>/
npm test src/2/
npm test src/3/