Filter interviews by
Be the first one to contribute and help others!
I applied via Naukri.com and was interviewed in Dec 2021. There was 1 interview round.
Abstract class is a class that cannot be instantiated and interface is a blueprint of a class.
Abstract class can have both abstract and non-abstract methods while interface can only have abstract methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have constructors while interface cannot.
Example of abstract class: Animal (cannot be instantiated) and Dog (inh...
Java does not support multiple inheritance to avoid the diamond problem and maintain simplicity.
Multiple inheritance can lead to the diamond problem where a class inherits from two classes with a common parent.
This can cause ambiguity and conflicts in method and variable resolution.
Java supports multiple interface inheritance to achieve similar functionality.
Maintaining simplicity and avoiding complexity is a core prin
Chained Exception is an exception that is caused by another exception.
It is a way of propagating exceptions through layers of code.
It helps in identifying the root cause of an exception.
It can be created by passing the original exception as a parameter to a new exception.
It can be caught and handled at any level of the code.
Example: SQLException is caused by a network error, which is caused by a firewall issue.
The exception hierarchy is the order in which exceptions are caught and handled in a program.
Exceptions are caught and handled in a specific order, with more specific exceptions being caught before more general ones.
The hierarchy typically starts with the most specific exceptions and ends with the most general ones.
For example, in Java, the hierarchy starts with checked exceptions, followed by unchecked exceptions, and
I appeared for an interview in Mar 2024.
I applied via Walk-in and was interviewed in Apr 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2020. There were 4 interview rounds.
I appeared for an interview before Dec 2020.
Round duration - 90 Minutes
Round difficulty - Medium
2 coding questions and 20 mcq
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Find the minimum time required to rot all fresh oranges in a grid.
Use Breadth First Search (BFS) to simulate the rotting process.
Track the time taken to rot all oranges and return -1 if any fresh oranges remain.
Handle edge cases like no fresh oranges or all oranges already rotten.
Consider using a queue to efficiently process adjacent oranges.
Ensure to update the grid with the new state of oranges after each second.
Given a natural number N
, return the sum of all its proper divisors.
A proper divisor of Y
is defined as a number X
such that X < Y
and Y % X = 0
.
T...
Calculate the sum of proper divisors of a given natural number.
Iterate from 1 to sqrt(N) and check for divisors
If a divisor is found, add it to the sum and also add N/divisor if it is not the same as divisor
Return the sum as the result
Round duration - 45 Minutes
Round difficulty - Medium
Technical interview
Given an array ARR
consisting of non-negative integers, rearrange the numbers to form the largest possible number. The digits within each number cannot be changed.
Rearrange the array elements to form the largest possible number by concatenating them.
Sort the array elements in a custom comparator function to get the largest number.
Convert the sorted array elements to strings and concatenate them to form the final number.
Handle cases where the numbers have the same prefix by comparing the concatenated forms.
Tip 1 : Be clear about whatever you have mentioned in resume, don't mention buzz words, because interviewer can go in depth
Tip 2 : Along with DS and Algo, if you have 3-4 months experience or internship experience, then be ready to answer scenario based technical questions like scaling the application that you developed and design concepts that can be used for improving
Tip 3 : Last but most important tip is to be calm through out the whole process ,don't loose hope if any round didn't go well ,if you have explained your thought process there is still chance to procees to next round so keep preparating for next rounds.
Tip 1 : Keep it one page resume and mention keywords which align with your technical and personal competencies.
Tip 2 : Mention 3-4 projects in the order that , project which you can explain best should be at top,then the next, and so on.
I applied via Campus Placement and was interviewed before Jun 2021. There were 3 interview rounds.
Round 1 is quit easy , only verbal ability is little bit difficult. So anyone can easy to qualify round.
I applied via Referral and was interviewed in Dec 2020. There were 3 interview rounds.
TCS
Accenture
Wipro
Cognizant