Questions were asked on Collections, lambda expressions, functional interfaces, oops concepts, springboot, rest services, annotations, sql queries and so on One of the three puzzles asked was There is pond which has lotus flowers in it. Each day the flowers count gets doubled. If the pond get full in 20 days, how many days will it take to fill half of the pond?
Java Backend Engineer Interview Questions
486 java backend engineer interview questions shared by candidates
Improve a SQL query after discovering that it's slow
1. What data structures do you know? 2. Microservice vs. monolith - which one is better? 3. How can services communicate with each other? 4. What is your favourite design pattern and why?
java corn parser sell 6M burger in 10 mins
Why do you think you're suitable for this position?
Difference between query param and path param
State difference between array and Arraylist
what is jvm
how jvm work internally
how hashmap works internally. contract between equals and hashcode method. methods present in Object class. WAP which accepts any text as an input and find whether if any repeated words are there in the text. linkedlist program for two linkedlists which meets at a particular node. unix command to search a particular string in multiple files. Rest WS architecture. And explanation of Post and Get request. Annotations of Rest WS. Exception handling in Rest. design Spring IoC container of your own. Spring beans scope. DI working principle xml parsers in java and how to read xml file in java. shallow n Deep cloning. LinkedList program. Junit Mockito framework and its working principle. Thread pool and thread dump. WAP which takes 2 inputs : 1st input - manger employee id 2nd input - 1 : 2 3 4 3 : 5 6 7 5 : 8 9 10 where 1 , 3 and 5 represents mangers empId and others represent emp id Now the for the 1st input the program shall return the empIds of all employees who are repprting to the manager directly or indirectly. sample input 3 1 : 2 3 4 3 : 5 6 7 5 : 8 9 10 sample output- 5 6 7 8 9 10 i solved it using Map<Integer, List<Integer>>
Viewing 361 - 370 interview questions