Another one I was asked... was about sorting... specifically Merge Sorting.
The last time I wrote a sorting algorithm was ages ago... like in 1994 to be exact.
All those years I have been using libs (JDK, STL) to do this for me...
So for your next interview... Read Sort Algorithms to refresh your memory, and understand (ie memorise) the pseudo-code for Quick Sort and Merge Sort and their related complexity...
I am still not sure what interviewers expect you to be?
To understand things or to know things? To be able to solve problems, or just know the solutions to problems? Being able to do everything from scratch in your head, or spend time doing some research?
File generation with SBT
3 years ago