Re:I got asked LeetCode questions for a dev-ops systems engi...
by pault on Friday June 14, 2019 @04:39PM
(#20186491)
Sorry, I think there's a couple of confusing things there. I mentioned a try block that always throws, but that was a different bit of code. In the example I posted of the for-loop the try/catch is unrelated to the previous, so we can assume it doesn't throw every time. The only WTF is why are we counting `i` and using `continue` and `break` to control a for loop.
[ Parent
| on HN ]
There are no comments on this comment yet.