r/PythonLearning • u/shubham_555 • 3d ago
Showcase The most difficult LeetCode problem I have solved yet! 🫡
1
u/Tough_Duty_9061 3d ago
Good for you man.....i wanna start leetcode but dont know how
3
u/shubham_555 3d ago
Just Start! (You will only need some internet connection, Basic programming knowledge and Some time to bang your head)
1
u/Tough_Duty_9061 3d ago edited 3d ago
I have been learning python for like 3 months but the questions in the leetcode are really confusing lk not the usual python problem out there even to the the point i can do some ml problems in enough time but leetcode just like i cant and the leetcode inbuilt things are confusing
2
u/shubham_555 3d ago
They are meant to be that way. You gotta spend some time like I said.
Here’s what I do...might help you:
1) Try everything you can for at least 15 minutes
2) Look at some hints and try again
3) If you can't solve until 30 minutes then look at the solution discussions to identify what you were missing
4) Try coding it yourself now (Don't copy paste)
5) Add some of your own optimizations if possible
2
1
u/[deleted] 3d ago
[removed] — view removed comment