I was asked to perform strings processing in JavaScript in a memory friendly manner. This was quite confusing because we don't usually check memory in JS, and until recently there were no easy way to do so. Then I was asked several questions related to the big O notation of algorithms such as sorting functions.