Companies (as in its employees esp managers, processes, culture) do things that are not at all efficient, correct, in the best interest of the company all the time. Not to break out into another discussion - but the resent push to force employees back to the office could be seen as one such example.
that doesn't reflect my experience at all.
from the outside many weird things seem to have some deeper meaning and thought-out plan. But when you get an inside-perspective, you notice that often no meaning or plan exists, and the reason for the weird thing is something silly like "an important person made a suggestion, that someone else misunderstood, but also made it a priority", or "there was a good suggestion, but it wasn't implemented, because the person who suggested it, was in bad standing with the management".
But if you’re already shortlisted, I don’t feel it’s an unreasonable amount of time for a relatively basic assessment like this before they commit to paying you a significant amount of money by employing you.
I always wondered how workable that could be at any scale. We sometimes hear about company straight contracting small fixes to a candidate and use that experience to decide on hiring.
But most job interviews I've ever received where while being in a full time exclusive contract with my actual employer, and I wouldn't quit before getting the next job. Doing some coding interview on the side is of course fine, but the moment money gets into the mix, I feel it becomes a weird line to walk on whether I'm breaking my exclusive contract or not.
This line being iffier if I'm getting paid by a competitor in the field for the interview.
For Leetcode style questions, there is some amount of interaction from the interviewer, so the cost to the company is that employee's 1 hour wage. If as a company, you feel like this is an efficient and superior way of interviewing, consider giving that amount to the candidate.