Arsenal fan! Software Engineer; AI Engineer. I tweet about Arsenal (football), web dev/ tech, Software, AI, anime, and general Naija gist. Unai Emery My Guy.
Garp simplesmente apareceu um dia, viu 3 garotos ao invés de dois e ficou tipo "Hmmm... São três agora? Ou sempre foram três? Bom... De qualquer forma..." e começou a bater nos 3
You literally asked for a textbook definition type problem.
I've been interviewed by interviewers like you.
It's annoying.
And, believe it or not, to a lot of devs having a job is just a convenience. They can make money independently with other skills. Working for someone else is just desirable because it removes personal liability, and it's consistent money to just show up and do the work.
I've gone on in interviews about how I've built a fiat backed stablecoin with ~$13 million in assets under management, been on an audit for those smart contracts, launched it, bootstrapped the demand for liquidity for it, all pretty much independently, (besides the audit of course), only to then be asked code merging two sorted arrays and asked how indices work in SQL.
It comes off as asking someone to do a homework problem when they've handled real problems. To someone who NEEDS the job they might tolerate it. To someone who has a network or other personal opportunities, ie someone more valuable, they're probably just going to hang up on you.
For the record, I don't know how indices work in SQL. I'm a problem solver. I'm not going to spend tens of hours preparing for a singular interview trying to anticipate what questions you might ask. If I encounter a problem or need to learn new tech on the fly, I just do it and figure it out. I always do. That's what you're actually paying for.
If you want to ask questions like that, interview college seniors or new grads. It should be fresh in their mind from their operating systems class.
Maybe for a job that pays $180k and benefits I would go through all the trouble and do it with a professional smile.