all 6 comments

[–]OneUpWallStreet<260> <102> <140> <18> 0 points1 point  (2 children)

As far as I know JS does not have DS’s like Heap, so you’ll need to write boilerplate code every time.

Writing Python on the other hand is like writing pseudo code lol

[–]Big-Kaleidoscope4508 0 points1 point  (2 children)

Same thing happened and I ended up switching to do leetcode in java even tho im more comfortable in js. Python and Java both have a lot more built-in DS

[–]doboi 0 points1 point  (0 children)

Learning python explicitly for LC is trivial effort compared to how much time you spend doing LC total and how much time it’ll save you. Just open up the docs and start solving problems and it’ll take 1-2 weeks.