Capgemini interview question

Good all basics opps,streams ,java8 , rest ,spring boot,spring data,sql, multi threading,optional classes, functinal interface , hr round, array list linked list map set collections second highest salary of employees, second highest number in list