▲ | sfn42 8 hours ago | |
> The interviewer asked: "If you have an array containing a million entries, how would you sort the data by name?" [...] Surely the right answer was to explain why you shouldn't be sorting millions of records in JavaScript. Pagination, database indexing, server-side filtering. So I said exactly that. > In real-world engineering, simplicity is king. In interviews, complexity is currency. Seems like a bit of a contradiction. |