DEV Community

MJ Abadilla
MJ Abadilla

Posted on

3

Solve LeetCode problems using Visual Studio Code, TypeScript, and TDD

LeetCode workspace written in TS / Mocha / TDD.

I encourage beginners and enthusiasts to use this project. Some of the things that made me set up this project are:

1. In line debugging. It's not every time that we can get the correct solution straight away and I'm not a fan of `console.log` debugging.
2. Ability to use my favorite text editor (Visual Studio Code) with dark mode
3. TDD style development. Solve fast but have the ability to re-factor my code with confidence in my (TDD).
4. Version control your project.
Enter fullscreen mode Exit fullscreen mode

Bonus is that I translated 3 problem examples to Test Cases.

I also want to encourage everyone to share their Test Cases via Pull Request, especially the failed problem test cases from failed submissions.

Initial test cases should fail

I have my own GitHub project with my solutions

Have a great time coding!

Heroku

Deliver your unique apps, your own way.

Heroku tackles the toil — patching and upgrading, 24/7 ops and security, build systems, failovers, and more. Stay focused on building great data-driven applications.

Learn More

Top comments (0)

Image of PulumiUP 2025

From Cloud to Platforms: What Top Engineers Are Doing Differently

Hear insights from industry leaders about the current state and future of cloud and IaC, platform engineering, and security.

Save Your Spot

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay