Frage im Vorstellungsgespräch bei eBay

Was given a function q(func) which accepts another function as input. Each time this function is called, it will execute the pass in function after 3 seconds. So, if it is called 3 times, q(func); q(func); q(func); the func passed inside will only get called after 3 seconds and the second one will get called only after the first one completes and so on.

Antwort im Vorstellungsgespräch

Anonym

10. Mai 2016

Had hard time understanding the question because it involved timing. I tried to confirm my understanding but, there might have been a communication issue. The interviewer should have explained the question better. I went over the question again after the interview and framed it in my own words.

1