But the cargo cutled nonsense before leetcode were the brain teasers. "How many ping pong balls can fit into a 747?".
Also nonsense.
But the cargo cutled nonsense before leetcode were the brain teasers. "How many ping pong balls can fit into a 747?".
Also nonsense.
But are we accounting for their comfort and making sure they all have TV screens? Do we have to account for FAA regulations? Is it okay if some of the ping pong balls get damaged as we try to fill the aircraft? Are we completely emptying the aircraft or leaving the seats in? Does the plane still have to fly and if so which areas have to be accessible in FAA regulations? What is the weight of a ping pong ball and if you have enough of them does that come close to the allowed take-off weights?
Some of how you respond to these is an indication of how you will respond to challenges and frustrations in the team.
And much like how these days people complain about getting rejected for slipping up on a leetcode problem in a minor way, back then there were plenty of stories of interviewers treating these problems as a black & white problem where you were expected to just know the answer.
To be clear, the problem wasn't the question. It was the interviewer asking the question.
Also, a famous question around that time was 'why are manhole covers round?'. (Thought there was a book from that era with that name but not seeing it; only found a newer book.)
Remember doing interview prep at the time by trying to memorize the answers to a bunch of these puzzles. Leetcode is useful in comparison to that. I had an interview once where the interviewer could tell I knew these and he was asking me to tell him about others I knew about.
I remember bumping into a friend on the subway, he was coming back from an interview. We were trying to work out some cockamamie puzzle involving barnyard animals crossing the river. He felt he got it right, but one of the interviewers grilled him.
When I got home I googled the problem and found out there was a generally accepted answer that was wrong. And that's what the interviewer was pushing. My friend had arrived at the correct answer.
And he didn't get the job.
Then again I think here we have both, square and round. Square ones are more for rain runoff on sides of roads. Where as anything in middle of road are round usually with no grating and some rain water run off locations are also round for access again.
Neither are true. And that was my real point. There was still the annoying cargo culled crap that way too mnay companies used, but back then, just like today, plenty of companies don't do this. And that's your point.
EDIT: Don't get me wrong. It's annoying as fuck how many companies interview this way. It's just not as ubiquitous as HN leads on