News for hackers. Stuff that matters.
Re:Many Hard LeetCode Problems Are Easy Constraint Problems by IshKebab on Friday September 12, 2025 @05:30PM (#45226989)
I interviewed at an investment bank in London and they asked me pretty hard questions. One was to implement some multithreaded producer consumer thing in C++. I can't remember the details but it was... well you know how writing multithreaded C++ is. I was allowed to look up references at least. Took me maybe 20 minutes and the whole time the interviewer was just sitting on his phone while I wrote it.

Weird experience. Didn't get that job (probably for the best tbf).

Re:Many Hard LeetCode Problems Are Easy Constraint Problems by renewiltord on Friday September 12, 2025 @05:39PM (#45227092)
If you wrote an MPSC queue (standard question) with multithreaded demo in 20 minutes in C++ you’re pretty hot shit, mate. Their loss. It’s not that it’s hard. But that speed without error is just really good. C++ is particularly unforgiving too.
Re:Many Hard LeetCode Problems Are Easy Constraint Problems by IshKebab on Friday September 12, 2025 @05:47PM (#45227150)
I can't remember the exact problem or how long it took but it was definitely some awkward multithreading. I'd rate my C++ as pretty good but probably not hot shit!
Re:Many Hard LeetCode Problems Are Easy Constraint Problems by Jensson on Saturday September 13, 2025 @04:19AM (#45230314)
He didn't get the job so changes are it wasn't correct.