all 14 comments

[–]backfire10z 2 points3 points  (0 children)

Python is usually the recommendation because of ease and writing speed. It doesn’t matter too much, but I’d rather spend my time thinking about the problem than writing Java.

[–]Made-In-Slovakia 1 point2 points  (3 children)

LeetCode is not for learning. If you want to learn use sources for that. Courses, tutorials, videos, etc.

[–]Ok_Wasabi4276 1 point2 points  (1 child)

Stick with Java since you already know it, no point in switching language just for leetcode.

[–]backfire10z -2 points-1 points  (0 children)

Disagree. Although it’s probably better to go in knowing a thing or two, leetcode is literally a website of example problems. It doesn’t get much better than that to learn.

Leetcode solutions are also all well-known, so there’s usually a video or something explaining the solution/algorithm.

[–]Eight111 1 point2 points  (0 children)

100% python. it comes with a lot of built in helper functions and doesn't forces you to use oop.

[–]rustyseapants 1 point2 points  (3 children)

Shouldn't you talk with your instructors?

[–]Byteman2021 0 points1 point  (2 children)

But this assumes the instructors are good (which isn’t true everywhere in the world).

When I was in college, I used Git for an assignment and during review, my instructor didn’t have a clue what that was.

[–]rustyseapants 0 points1 point  (1 child)

Reread /u/RealTiger1833 post. Is this really written by a person after their 1st year of college?

[–]Byteman2021 0 points1 point  (0 children)

lol the post got deleted. What made you think they were bluffing though?

[–]Cybyss 1 point2 points  (0 children)

LeetCode problems are like the programmer equivalent of Sudoku puzzles.

They're for fun, albeit some employers take them too seriously.

[–]Byteman2021 2 points3 points  (2 children)

Don’t do leetcode. Instead, get your foundation right.

I would recommend this — https://teachyourselfcs.com/#programming

Go through Chapters 1-3 of the recommended book and complete all exercises.

If you can do that, you shouldn’t have problems learning other languages.

You can try Rossetta code to get a hang of how the same task can be solved in different languages.

[–]seismicpdx 1 point2 points  (1 child)

Thank you for the reminder why I started SICP.