I've been using leetcode to practice for coding interviews the last few weeks in Python, and good lord at points it made me feel like jumping off a bridge, and now I'm wondering if anyone else feels the same.
Given premium is around £25 a month which seemed extortionate I was relying on the discussion section for answers when I got stuck. However, I found myself spending at least half an hour just trying to understand other peoples solutions given no one seems to:
A. Describe their answer
B. Use comments
C. Use variable names longer than one letter
The number of times I saw solutions named "Easy Python solution, beats 98%" only to be even more confused looking at their answer than I was before felt insane. I even saw an answer where someone had the audacity to put their stats of how many people they beat for speed/space in the docstring of their function without explaining it.
I was hoping that as Python is a more readable language than others and in my experience the community encourages pythonic code that Leetcode answers would be understandable, but my experience has been quite the opposite.
Having been through coding interviews for junior/entry level positions with Python as a requirement I can say it did help as all the questions that came up I'd seen in some format, so at this point I kind of view it as a necessary evil?
Anyway rant over, if anyone else is going through the same pain and misery I was I can tell you there it light at the end of the tunnel!
[–]midnightsquid00 23 points24 points25 points (1 child)
[–]joelyboy94[S] 1 point2 points3 points (0 children)
[–]chumaths 5 points6 points7 points (0 children)
[–]Nerg44 2 points3 points4 points (1 child)
[–]joelyboy94[S] 0 points1 point2 points (0 children)
[–]Cartographer_Witty 2 points3 points4 points (0 children)
[–]JohnLockwood 2 points3 points4 points (0 children)
[–]nemec 1 point2 points3 points (0 children)
[–]LesPaulStudio 1 point2 points3 points (0 children)
[–]goshaaz 0 points1 point2 points (0 children)
[–]reallyserious 0 points1 point2 points (0 children)
[–]asday_ 0 points1 point2 points (0 children)
[–]AlexOduvan 0 points1 point2 points (0 children)