PureSoftware interview question

Q - String Pool, Memory Allocation, Java Heap Q - Data Consistency in Microservices, Saga patterns Q - Reverse String Q - Find the largest and smallest value in num array Q - Difference between List and Set/Array Q - Difference between Request mapping and Get mapping Q - Different annotations in Spring Boot like RestController, Repository, Component, Service Q - Synced variables in java Q - Thread safe operations Q - String Double vs String Buffer Q - Write a query to find 2nd largest salary in the SQL table