1st round:
- OOP concepts
- https://leetcode.com/problems/house-robber/
- Design a parking lot
2nd round:
- Sort an array of employee objects based on salary (here salary was an attribute of employee object)
Soln: expectation was to implement comparator interface and override compare method and then use Collections.sort Eg: https://howtodoinjava.com/sort/sort-arraylist-objects-comparable-comparator/ - How do you create your own Exception class
Comments (1)


