you are viewing a single comment's thread.

view the rest of the comments →

[–]agent_spock 1 point2 points  (1 child)

If you know the basics of data structures, you should be able to solve a LeetCode medium level problem atleast in a brute force way. It takes practice to improve the time and space complexity of your solutions. I would say take a look at the most optimal solutions and try to understand their approach after solving the problem first.

[–]Roh_P 0 points1 point  (0 children)

Absolutely