Pergunta de entrevista da empresa SAP

The questions asked were as follows: Tell me about yourself Coding question about sets (Pair Coding) (time and space complexity of the same) Why did you use sets? Can you use any other data structure? Difference between hashmap and set How to handle collisions in hashmap SQL query : Find the second highest salary in the employee table using nested query and not using nested query Few other questions regarding the problem