Round 1: OA
Questions:
- Longest substring without repeating character.
- REST API call (Need to make a call to given URI with Java code and fetch the JSON and work with it).
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2: F2F Interview (duration 1hr)
Questions:
- Print all subsets with a given sum.
- Exceptional hierarchy.
- Questions on strings, find output from code snippets, string intern method.
- Final vs Finally vs Finalize.
- Can we use try block without catch block?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 3: F2F (duration 1hr)
Questions:
- Given two linked lists, each representing two numbers. Return the linked list having the sum of those two numbers.
- Find nth highest employee salary from database table.
- Suppose you have a list of employees. Find the name of the employee having Nth highest salary.
- What is AJAX in front end?
- You are given an array of integers. Find all the leaders in order that appear in the array. A leader is an element which is greater than all its right elements.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 4: F2F (duration 1.5 hr)
Questions:
- Explain all OOP concepts with practical examples in your project.
- Explain SOLID principles with practical examples in your project.
- Exceptional hierarchy in detail. Error vs Exception, Checked vs Unchecked.
- Given two arrays which contain names and cities of the employees (names[], cities[]). Sort those arrays based on names; if names are equal, then based on city.
- Given an array of integers. Print the elements of the array in the order first_highest, first_smallest, second_highest, second_smallest, and so on.
- Steps involved from request to response.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 5: F2F (duration 2hrs)
Questions:
- Explain and write code for each design pattern that you worked with in the project.
- Exceptional hierarchy.
- Questions on code snippets, constructors, serialization, deserialization in depth, String vs StringBuffer vs StringBuilder, Functional interfaces, marker interfaces.
- String pooling, String concatenation.
- Given a 3-digit integer. Find the combination of digits that sum to a given value.
- Few questions on the project.
- Memory management.
- Abstract classes, interfaces in-depth questions.
- Projects always matter. Most of the practical knowledge comes from projects and that will be tested in every company.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Verdict: Selected (got a call after 3 days).
Previous Experience:
- Java Spring Boot Developer at TCS, 7.9 LPA with 2 years 1 month.
Oracle offered:
- 19 LPA fixed without any bonus, stocks.
- Offered role: Applications Engineer.