#1: code a music player interface which stores a playlist and supports play, pause, stop, next/prev track, how do you handle errors from h/w. had to code all the classes and how messages worked were exchanged between them and justify my choices.
#2: design a csv parse when string has double quotes and newlines. return result of parsing as list<list<string>> with one list per line. when you have a substring within double quotes, you have to ignore commas within double quotes for eg.,
"a, b, \"hello,world\", xy\ne,f,g" should return
a#b#hello,world#xy
e# f# g
#3: design a image sharing application like instagram (how do you handle traffic spikes, how to handle storage, retrieval, publish to follower feed, caching etc.,)
#4: there was a bar raiser interview who asked me to describe how I scaled the graph DB per my resume
#5: manager asked behavioral qns like why uber, how do you mentor junior employees, talk about a scenario when you took a risk and it either failed/succeeded, what is your ideal job etc.,
the first two I had to write, compile and pass their unit tests on coderpad. I could choose the language of choice (c++, java, python etc.,) #3 was just white-boarding.