basic java ,oops, collections , reverse string program and basic programs
Java Software Engineer Interview Questions
4,200 java software engineer interview questions shared by candidates
JAVA OOP, Spring boot, maven, Testing(Junit).
1. merge 2 sorted Array 2. flatten the array of object type ex: Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 } }; o/p: {1,2,3,4,5,6,7} .using stream Api 3. Stock Buy and sell 4.Array with -ve and positive integer.. return pair with max product. 5. LRU cache Impl 6.We have Order class with orderId and OrderTime.. In a function we have startTime and endTime.. we needed to return all the order placed with in that time range[startTime, endTime];
Dynamic Programming on Arrays/Lists. Asked to write a program to find set of array segments(i to j index) whose sum is 0 in an Array without changing the order of elements in the array. Solve in O(n).
please tell us about yourself
How to initiate a ssh connection with public and private key pair
On the first interview session there were average Java questions, focused on multithreading and collections (How does HashMap work?). The assessment consisted on 2 problems, one was focused on efficiency, the other was focused on logic. On the last round, the technical interview was more complex, addressing subjects like Java memory.
Thread safe singleton Convert camel case string to snake case
Difference between set and list
Tell me about yourself ?
Viewing 2621 - 2630 interview questions