Friendsurance interview question

java, java stream, spring related questions. nothing specific