All rounds were completed in a 10 days.
Each round is an elimination round.
Recruiter reached me through Naukri
Round 1: OA
- 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)
Got call for interview after 2 days.
For all the interview rounds, you have to write code on paper and explain
Round 2: F2F Interview (duration 1hr)
- Print all subsets with given sum.
- Exceptional Hierechy.
- Questions on strings, find output from code snippets, string intern method.
- Final vs Finally vs Finalize
- Can we use try block without catch block.
Round 3: F2F on same day (duration 1hr)
- Gievn two linked lists . Each represent two numbers. Return the linked list having sum of those two numbers.
- Find nth highest employee salary from database table.
- Suppose, you have given a list of employees. Find the name of 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. Leader is an element which is greater than all its right elements.
Round 4: F2F on same day (duration 1.5 hr)
- Explain all oops concepts with practical examples in your project.
- Explain SOLID principles with practical examples in your project.
- Exceptional hierechy in detail. Error vs Exception, Checked vs Unchecked
- Given two arrays which contains names, 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_smalest,second_highest, second_smallest and soon.
- Steps involved from request to response.
- how to optimize database performance?
Got a call after 2 days
Round 5: F2F ((duration 2hrs)
- Explain and write code for each design pattern that you worked with in the project.
- Exceptional hierechy.
- Questions on code snippets, constructors, serialization,desrialization in depth, String vs StringBuffer vs StringBuilder, Functional interfaces, marker interfaces.
- String pooling, String concatenation.
- Given 3 digit integer. Find the combination of digits that sum to given value.
- Few questions on project.
- Memory management.
- Abstract classes , interfacses in depth questions.
- projects always matter. most of the practical knowledge comes from projects and that will be tested in every company.
- Should abstract class have atleast one abstract method?
Verdict : Selected (got a call after 3 days).
Previous Experience:
Java Spring boot developer TCS, 7.9LPA with 2 years 1 month
Oracle offered:
19 LPA fixed without any bonus, stocks.
offered role: Applications Engineer