Round 1:
- Print Longest Increasing subsequence.
- Tell minimum no. of ways to get number to guess 4 digit lock value correctly, starting from 0,0,0,0
- What is difference between @Component, @service, @repository ?
- What are functional interface ?
- When to use abstract class vs interface ?
- What can go wrong when multiple threads are accessing hashmap ?
- What is the use of beans in spring boot ?
Round 2:
- Print in numbers
6:00 six o'clock
6:10 ten minutes past six
6:15 quarter past six
6:30 half past six
6:45 quarter to seven
6:47 thirteen minutes to seven
6:14: fourteen minutes past six
- Print max element of stack.
- What is difference between hashset, linkedHashset, treeset ?
- What happens when equals method always return true, hashcode method return random value? If HashSet contains different instance of this class, then behaviour will be different for size of hashset.
- What is singleton pattern?
- Difference between arrays and arraylist.
Compensation details: https://leetcode.com/discuss/compensation/4621559/Caizin-or-Senior-Software-Engineer-or-35-LPA-or-January-2024