8x8 interview question

OOP, Data structures, Java fundamentals