Publicis Sapient interview question

1. Given Code snippet- Custom class - Employee Write equals & hashcode method for it. 2. How will you make Employee class good candidate for hashmap. 3. Complexity of ArrayList - Search Operation & Insertion operation.