Interview Experience at Uber - New Grad

Fresh Uber interview experience…
Two questions in total:

  1. Difference between var and let, the one about setTimeout printing the result, testing block scope and lexical scope, frontend should all know.

  2. Task runner, follow-up question was about adding priority, I didn’t write it, just mentioned it, also how to optimize. I said heap or priority queue, asked about time complexity like this.

Feels like it’s been a while since interviewing, even stuttering when speaking… Seeking some insights.