This repo contains solutions to various LeetCode problems I've tackled over time, implemented in JavaScript. Each problem's solution is organized by difficulty.
Feel free to ask if you need any more help!
- Clone the repository:
git clone https://github.com/arjunkdot/leetcode-js.git
You can run the JavaScript files using Node.js. For example:
node medium/01-container-with-most-water/solution.js
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.