Pregunta de entrevista de Ericsson

1 Round - Stream API, equals hash, 1 multi threading program to write counting using two threads 2 Round - 1 Problem to identify maximum profit in the days given their stock price in an array. I solved with On2 then further reduced it to O(N) but interviewer wasnt able to get the logic. Then question on Equals and Hashcode Then some spring basic questions