Filter interviews by
Sort list of employees by employee number using streams and comparator.
Use Stream API to convert list to stream
Use Comparator to compare employee numbers
Use sorted() method to sort the stream based on comparator
Top trending discussions
I applied via Campus Placement and was interviewed before Nov 2020. There was 1 interview round.
Program to calculate factorial
Use a loop to multiply the numbers from 1 to n
Handle edge cases like 0 and negative numbers
Use recursion for a more elegant solution
I applied via Recruitment Consultant and was interviewed in Feb 2021. There was 1 interview round.
I applied via Referral and was interviewed before Dec 2021. There were 5 interview rounds.
Exam which will have logical , verbal and technical related mcqs
Group discussion with 5 to 10 people
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
This test consists of two coding questions and some MCQ regarding computer fundamentals.
Kevin has two packs of cards. The first pack contains N cards, and the second contains M cards. Each card has an integer written on it. Determine two results: the tot...
Find total distinct card types and common card types between two packs of cards.
Create a set to store distinct card types when combining both packs.
Iterate through each pack and add card types to the set.
Find the intersection of card types between the two packs to get common card types.
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through all possible allocations of books to students.
Calculate the maximum number of pages assigned to a student for each allocation.
Return the minimum of these maximums as the result.
Round duration - 40 minutes
Round difficulty - Easy
It was a technical round that is based on DSA and computer fundamentals.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers - prev, current, and next to reverse the linked list in O(N) time and O(1) space complexity.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Given an integer array arr
of size 'N' containing only 0s, 1s, and 2s, write an algorithm to sort the array.
The first line contains an integer 'T' representing the n...
Sort an array of 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of 0s, 1s, and 2s while traversing the array.
Swap elements based on the values encountered to sort the array in-place.
Time complexity should be O(N) and space complexity should be O(1).
Tip 1 : If you are not able to complete something in-depth, clearly mention that to the interviewer.
Tip 2 : Practice DSA well.
Tip 3 : Try to think analytically and more logically,Your thinking skills matters a lot.
Tip 1 : Try to mention max no of projects
Tip 2 : DO not fake in your resume.
I applied via Naukri.com and was interviewed in Nov 2018. There were 5 interview rounds.
I get inspiration from nature, art, travel, and conversations with diverse individuals.
Nature - observing the beauty and patterns in the natural world
Art - exploring different forms of creativity and expression
Travel - experiencing new cultures, landscapes, and perspectives
Conversations - learning from diverse individuals and their unique stories
Seeking new challenges and growth opportunities in a dynamic work environment.
Looking to expand my skill set and knowledge in a new role
Interested in taking on more responsibilities and challenges
Seeking a more collaborative and innovative work environment
Want to explore new industries or sectors for career development
I applied via Referral and was interviewed in Nov 2020. There were 3 interview rounds.
based on 1 interview
Interview experience
Consultant
508
salaries
| ₹3 L/yr - ₹12.5 L/yr |
Senior Consultant
477
salaries
| ₹6.2 L/yr - ₹18 L/yr |
Deputy Manager
320
salaries
| ₹9.5 L/yr - ₹22.5 L/yr |
Manager
218
salaries
| ₹13 L/yr - ₹28.9 L/yr |
Consultant2
186
salaries
| ₹3.6 L/yr - ₹9.1 L/yr |
Deloitte
Ernst & Young
PwC
KPMG India