Java core Spring Microservices Rest API
Java Backend Engineer Interview Questions
486 java backend engineer interview questions shared by candidates
1. Difference between Arraylist and linkedlist. 2. What is the time complexity of insertion in linkedlist? 3. Which one do you prefer in which condition? 4. Which one do you use to insert an array of integers? 5. Given two lists - remove all the elements of second list from first list. 6. Employee class - Employee1 emp1 = ID:1, name : ABC Employee2 emp2 = ID:1, name : ABC Treemap map = new TreeMap<>(); map.put(emp1,7); map.put(emp2,8); Is this allowed? What will be the size of the treemap in this case? 7. Internal implementation of put method in treemap. 8. Internal implementation of hashcode and equals in object class. 9. Time complexity of removeAll() in Linkedlist
Tell me about a situation when you failed at your job.
I got an online technical interview to discuss technical knowledge. - What is the SQL injection? - The Principles of a REST Architecture - the difference between vector and LinkedList and ArrayList
String manipulation questions and streams coding questions
What is a constructor? What is IoC? How do you inject a bean? What is the static keyword? How does it work in the back? Why is main method static? How does Spring inject beans in the back?
API was responding in 2 ms earlier, now it takes 80 seconds. As a Lead, how will you find the issue?
Find the target sum in an array. pring the target with index. Level order traversal in a tree. Java 8 stream sql question
Print out Fibonacci numbers from 1 to 100
1. How to implement a URL shortener (in memory) and how to solve duplicated URLs or collision if using hashing. 2. How to sort an array of ages (between 0 and 120 years)
Viewing 301 - 310 interview questions