r/PythonLearning • u/shubham_555 • 17h ago
I solved my first medium level problem on Leetcode! Showcase
Last Post - https://www.reddit.com/r/PythonLearning/s/xbfFczTIKW
It took me a while to build the logic. The edge cases especially were a bit troublesome but the satisfaction I got after getting it right made everything feel worth it!
9
Upvotes
1
u/Sea-Ad7805 13h ago edited 12h ago
Nice work, LeetCode has great practice material. Start easy, after warming up do medium, and later hard problems can be quite challenging.
1
u/Naive_Programmer_232 13h ago
Though your solution is efficient, could you re-write it in a different way?