enkr1 / leetcode_solutions

All of my LeetCode solutions. I am challenging myself to complete at least one question a day! :dart:

Home Page:https://enkr.notion.site/db6bbb891f264f37a64c99799ca2057d?v=4f97d301b66f496ca65577cc80283a1a

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leetcode Solutions

wakatime

My LeetCode stats

Notion Database - all of my notes on the problems

I prefer to initially code using Google Docs as my primary platform, unless it's a new topic that necessitates debugging in a terminal or if I encounter challenges that prevent me from completing the task within the allotted time. (30m)


Problems:


Table of Contents


solution.js - The solution I submitted

my_solution.js - My attemp with logs and comments

o_solution.js - Online/others' solutions


Commands for myself

Elixir

To run the Elixir solution:

iex ./.../solution.ex

Batch create:

chapter=1572 && mkdir ./$chapter && touch ./$chapter/my_solution.ex && touch ./$chapter/solution.ex && alias x="iex ./$chapter/my_solution.ex"

then you can use x for quick debug.


JavaScript

To run the JS solution:

node ./.../solution.js

Batch create:

chapter=743 && mkdir ./$chapter && touch ./$chapter/my_solution.js && touch ./$chapter/solution.js && alias x="node ./$chapter/my_solution.js"

then you can use x for quick debug.


Author: Jing Hui PANG - LinkedIn | Email | GitHub | LeetCode | WakaTime

About

All of my LeetCode solutions. I am challenging myself to complete at least one question a day! :dart:

https://enkr.notion.site/db6bbb891f264f37a64c99799ca2057d?v=4f97d301b66f496ca65577cc80283a1a


Languages

Language:JavaScript 95.6%Language:Elixir 4.3%Language:C++ 0.0%Language:Java 0.0%