Particularly VMWare hiring process starts with either Telephonic round with one of senior team member, in case of experienced candidate or Written Test with 2-3 coding questions in case of fresher or 1-2 years of experience
- Create DS and Algo for PlayList of songs such that one song plays only once.
Modification I start giving solutions
I may want to hear one song max N times.
I want to save playlist as well so that removal of Song is not option.
a. Array, ArrayList : Issues : Loop, Space
b. LinkedList : Issue : Sequential Search
c. Mixed Hash with LinkedList : Proper discussion on Complexity and other issues if such solution is used.
- Design Snake Ladder game : Design DS and Algo for it, Type of Objects associated.
- A series of Words are coming, at a given point output a Character which is non repeating.
say series is : abcdabefc
o/p at diff : At ‘e’: non repeating is ‘c’, At last ‘c’ non repeating char is ‘d’
Solution : Use Queue and Array/Hash of 26 Length to store already came character.
- AS I have worked with front-end, Ajax question, and I have given him situation in which I had to come up with different solution in jQuery, Ajax.
- If you have two Ajax calls and merge result of both how can you handle it?