1. Given a string, display the words in reverse order
I/p: I work at xyz
O/p: xyz at work I
2. Given a linked list modify the linked list as below
I/p: a x b c y z
O/p: a b c x y z
3. What is virtual memory
4. If I am designing a media player and I want to store songs and play them in random order
a) what data structure will you use to store songs?
b) how will select the next song to play in a way which prevents the same song being played in consecutive turn
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.