Re:Leetcode has taught me that I'm a bad engineer
by VirusNewbie on Wednesday January 05, 2022 @05:27PM
(#29815994)
Honestly curious, how long does it take to do an average medium problem and pass all test cases? Are you spending like, an hour or ten minutes? Somewhere in between?
[ Parent
| on HN ]
Re:Leetcode has taught me that I'm a bad engineer
by barbacoa on Wednesday January 05, 2022 @11:22PM
(#29819352)
Depends a lot on the problem, for medium probably between 15-30 min for most. I have interviewed at FAANG companies for software roles and done the whole on-site leet coding gauntlet. Did about an hour a night for a week total prep. I can solve their problems, what gets me is when I finished early and they ask more academic follow up questions. Like getting backed into a corner and having to admit I have no idea what big-O notation is.
Re:Leetcode has taught me that I'm a bad engineer
by VirusNewbie on Friday January 07, 2022 @05:14PM
(#29845577)
How do you know that scanning an array looking for a number in a sorted array vs. searching for it is slower? Just kind of intuitively? Do you have your own terms for it? I too sometimes get dinged because I use the non academic terms for things...
Re:Leetcode has taught me that I'm a bad engineer
by Fattestmoron on Wednesday January 05, 2022 @05:51PM
(#29816288)
Can be anywhere from 1 minute to hours, depends on the problem. The whole classification thing is kind of ridiculous, because some hard problems are easy and some mediums are hard.