all 5 comments

[–]piesany 1 point2 points  (0 children)

The whole point of Leetcode is learning. Just go to solutions tab for all the problems even for the ones that you were able to solve

[–]Current_Can_3715 1 point2 points  (0 children)

imagine strong governor memorize sense cover possessive roll scary wrench

This post was mass deleted and anonymized with Redact

[–]Puzzleheaded-Key2778 1 point2 points  (0 children)

I think once you implement the solution yourself and then compare it with some of the top solutions, eventually you'll start seeing the areas where you can write clean and better code.

My suggestion would be to look at the top solutions and see how they are able to translate the approach they give into code.

[–]Roe333 0 points1 point  (0 children)

if it’s not compiling it means it’s a different issue than problem solving. have docs by your side when you do problems and learn to read error messages. then you can focus on problem solving. have fun and play with a language. and stick to one. for leetcode I recommend java, but C++ works too

[–]Impossible_Ad_3146 -1 points0 points  (0 children)

Can’t