The question I recently got that I found annoying was this: Given input (4, 2, 3, -1, 5) and output (-30, -60, -40, 120, -24) what's the function between them? I don't actually mind doing whiteboard interviews even on minimal prep. I've gotten a few of the "flagship" company offers and failed a few. I think part of it is internalising that nothing is going to guarantee you anything. You can always hit a question you…
what is the answer y = -120/x ?
The output for an index i was the product of the full input sequence excluding the element at i in the input.
The followup question was how do you do it in linear time.