Java Software Developer Interview Questions

4,195 java software developer interview questions shared by candidates

The technical interview covered Java8 collections, some basic coding problem to test knowledge of data structures and some code samples that I had to analyze and suggest improvements / notice issues. Also - how do you diagnose and track down a memory leak?
avatar

Java Software Engineer

Interviewed at TransPerfect

3
Jun 14, 2021

The technical interview covered Java8 collections, some basic coding problem to test knowledge of data structures and some code samples that I had to analyze and suggest improvements / notice issues. Also - how do you diagnose and track down a memory leak?

Test Questions: 1. Sum TotalSpeed given data is degree and speed according every degree and it can solve by MAP with respected key(Degree) and value(Speed). 2. Remove Special Character and also number and also every first char is capital Input -> String[] words = {"hello!", "world@", "java#", "programming$", "is^fun"}; Output -> {Hello, World, Java, Programming, is, Fun} 3. sort the array and shift the all zeros in last. 4. Adjust Array means array given and you have to tell the highest number of array and adjust those less number then highest number in way that if we sum answerer should be highest number Adjusted Array: 3 6 0 0 9 4 5 Before Sum: 9, After Sum: 9 5. write the program for the loan management like 4000 loan fixed amount is 10%(400) and with 3% interest and remaining balance like second month 3600 interest will charged on that amount. ------------------------------------------------------------------- In interview they will asked LeetCode questions, at least first 50 questions of easy and hard. -> Unbalanced/ Balanced bracket ()}, {()} -> Remove duplicates from array (Two Pointer) -> Reverse whole statement not character -> Middle element of the linked List and data is in singly linked List

Test Questions: 1. Sum TotalSpeed given data is degree and speed according every degree and it can solve by MAP with respected key(Degree) and value(Speed). 2. Remove Special Character and also number and also every first char is capital Input -> String[] words = {"hello!", "world@", "java#", "programming$", "is^fun"}; Output -> {Hello, World, Java, Programming, is, Fun} 3. sort the array and shift the all zeros in last. 4. Adjust Array means array given and you have to tell the highest number of array and adjust those less number then highest number in way that if we sum answerer should be highest number Adjusted Array: 3 6 0 0 9 4 5 Before Sum: 9, After Sum: 9 5. write the program for the loan management like 4000 loan fixed amount is 10%(400) and with 3% interest and remaining balance like second month 3600 interest will charged on that amount. ------------------------------------------------------------------- In interview they will asked LeetCode questions, at least first 50 questions of easy and hard. -> Unbalanced/ Balanced bracket ()}, {()} -> Remove duplicates from array (Two Pointer) -> Reverse whole statement not character -> Middle element of the linked List and data is in singly linked List

Viewing 1581 - 1590 interview questions

Glassdoor has 4,195 interview questions and reports from Java software developer interviews. Prepare for your interview. Get hired. Love your job.