You're Not Interviewing for the Job. You're Auditioning for the Job Title
I once had a job interview for a backend position. Their stack was Node.js, MySQL, nothing exotic. The interviewer asked: "If you have an array containing a million entries, how would you sort the data by name?" My immediate thought was: If you have a JavaScript array with a million entries, you're certainly doing something wrong. The interviewer continued: "There are multiple fields that you should be able to sort by." This felt like a trick question. Surely the right answer was to explain w