News for hackers. Stuff that matters.
Re:I got asked LeetCode questions for a dev-ops systems engi... by kamaal on Saturday June 15, 2019 @06:57AM (#20189398)
Nothing. Probably the original developer was trying to do the same thing. There is always a context to what some one is doing.
Re:I got asked LeetCode questions for a dev-ops systems engi... by pault on Sunday June 16, 2019 @02:22PM (#20197040)
I think the try/catch block is confusing commenters; it's irrelevant to the control flow in this case. You could consider it equivalent to:

  for i=0; i<3; i++:
    doSomething();
    if i<3:
      continue;
    else:
      break;