Cognizant interview question

Arraylist hashmap implementation,microservices ,Springboot vs spring