Deloitte | Java Full Stack Consultant | First Round

Anonymous User
2061
Oct 03, 2024
Oct 04, 2024

hi folks,

Today i had first round with deloitte .

Year of Experience : 3.3

Round 1: java and coding

coding : https://leetcode.com/problems/valid-anagram/description/
2) find highest odd element using streams:
int odd_highest=list.stream().filter(n->n%2!=0).sorted(Comparator.reverseOrder()).findFirst();
3) collect duplicates element present in the list using streams
List li=list.stream().filter(i->Collections.frequency(list,i)>1).collect(Collectors.toList());

Theory questions:-

java - explain method overiding , exceptions (focused on priority), serializable , marker interface example , differences between hashmap and concurrent hashmap
springboot - dependencies example , dependency injection.
microservices - circuit breaker, explain design patterns which i have used in project.

If i clear the round , next round will be frontend angular . I will edit this post.

Comments (2)