Skip to content

brianteeter/Leet-Code-Solutions-JavaScript

Repository files navigation

Leet-Code-Solutions-JavaScript:

The purpose of this repo is to have a nice place where I can work on and share solutions to LeetCode problems.

LeetCode has 'taken over the world' of coding problems, and because of that employers place an inordinante amount of importance on the ability of developers to solve these coding puzzles. So, since that's a thing now, I'm going to solve a ton of them and share here.

I feel like LeetCode is not a terribly useful measure of a developer's ability. But since it seems industry thinkis its important, and its a fun hobby anyway, I am going to work through a bunch of them.

Languages Used

I'm a fan of JavaScript in general, so a lot of solutions will be written in JavaScript. Where the solution is in JavaScript I'm using Mocha for my local testing so I can do some test cases before I submit then to LeetCode. I also use WebStorm, because its awesome. I've provided the /.idea/ files in this repo so anyone else who uses WebStorm can just clone and go.

I have another project with Leet Code solutions in Java, check it out here: https://github.com/brianteeter/Leet-Code-Solutions-Java

How to Use

  • Make sure you have Node 10+ installed
  • Clone this project
  • Run: npm i
  • Run: mocha to run tests

Webstorm

This is a project in Webstorm. The /.idea files are checked in if you want to run/use Webstorm as well.

Why?

LeetCode is neat and their interface is decent, but I like using a real IDE to write software. So I do, then I copy it up to LeetCode and submit.

Also, maybe if I make this public someone can benefit from sharing these solutions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published