Filter interviews by
I applied via Referral and was interviewed in May 2022. There were 4 interview rounds.
Simple DSA and CS Fundamentals
I appeared for an interview before Nov 2020.
Round duration - 150 Minutes
Round difficulty - Medium
Have to attempt 2 programming questions within 2:30 hours. Can take any time over the weekend. Relatively easy problems. Questions were long, but the solution code was small.
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette.
Iterate through the buildings and create a list of critical points (x, y) where the height changes.
Sort the critical points based on x-coordinate and process them to generate the skyline.
Merge consecutive horizontal segments of equal height to ensure no duplicates in the output.
You are given a Singly Linked List of integers. Your task is to sort the list using the 'Merge Sort' algorithm.
The input consists of a single line contain...
Sort a Singly Linked List using Merge Sort algorithm.
Implement the Merge Sort algorithm for linked lists.
Divide the list into two halves, sort each half recursively, then merge them.
Use a fast and slow pointer to find the middle of the list for splitting.
Handle the base case of a single node or empty list.
Example: Input: 4 3 2 1 -1, Output: 1 2 3 4
Round duration - 240 Minutes
Round difficulty - Medium
Had to solve 1 programming question in 4 hours. It was in the morning on a weekend. The environment was not so good. It was a small institute and got very crowded. The platform was also buggy. but the question was not difficult. Was able to solve it in just 1 hour and leave.
Alex has acquired a machine that can photocopy photos in batches of a minimum size 'K'. Given 'N' photos with resolutions represented in an integer array photos
, the machine prod...
Minimize maximum error by splitting photos into batches of size at least 'K'.
Sort the array of resolutions in ascending order.
Iterate through the array and calculate the error for each possible batch.
Return the minimum possible maximum error found.
Round duration - 30 Minutes
Round difficulty - Easy
It was in the afternoon. The interviewer basically asked me what technologies I have worked on. Checked my knowledge of those technologies with simple questions. Told me what I'll be working on if I get selected.
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 integer array containing only 0s, 1s, and 2s in linear time complexity.
Use three pointers to keep track of the positions of 0s, 1s, and 2s in the array.
Iterate through the array and swap elements based on the values encountered.
Maintain left pointer for 0s, right pointer for 2s, and current pointer for traversal.
Example: If current element is 0, swap it with element at left pointer and increment both pointers.
E...
Round duration - 90 Minutes
Round difficulty - Hard
It was also in the afternoon. The interviewer was the member of the team I'll be working on if I get selected. He asked me some basic questions about related technologies.
Gave me 2-3 DS & Algo problems and asked me to solve them.
Calculate the sum of all elements in an array of length N
.
Line 1: An integer N indicating the size of the array.
Line 2: N integers, the elements of the array, separated by ...
Calculate the sum of all elements in an array of length N.
Iterate through the array and add each element to a running sum.
Return the final sum as the output.
An alien dropped its dictionary while visiting Earth. The Ninja wants to determine the order of characters used in the alien language, based on the given list of wor...
Determine the order of characters in an alien language based on a list of words.
Create a graph where each character is a node and there is a directed edge from character 'a' to character 'b' if 'a' comes before 'b' in any word.
Perform a topological sort on the graph to get the order of characters.
Return the order as a string in lexicographical order.
Tip 1 : It's a Daily process. Not weekly, Not monthly. DAILY!
Tip 2 : Take part in Online Contests. HackerEarth is best for Contests posted by companies.
Tip 3 : Even after you have solved some problem, try to find a better solution for it online. Companies don't want a solution, they want optimized solution.
Tip 1 : Modify resume for each job you are applying for. It should show why you are suitable for that particular job.
Tip 2 : Remove any extra things like interests and hobbies. No one cares.
I would concentrate on improving the company's software development process.
Implementing agile methodologies
Investing in automation tools
Encouraging continuous learning and development
Fostering a culture of innovation
I appeared for an interview in Aug 2017.
I appeared for an interview in Aug 2016.
The ISO/OSI model is a conceptual framework that standardizes the functions of a communication system into seven layers.
The ISO/OSI model stands for International Organization for Standardization/Open Systems Interconnection model.
It is a layered model that helps in understanding and designing network protocols.
The seven layers are: Physical, Data Link, Network, Transport, Session, Presentation, and Application.
Each la...
To lock a file in Linux, use the flock command or the fcntl system call.
The flock command can be used to lock a file by acquiring an exclusive or shared lock.
The fcntl system call can be used to lock a file by setting the F_SETLK or F_SETLKW command.
Locking a file prevents other processes from modifying or accessing it until the lock is released.
Locking can be done at the file level or at specific regions within a file...
CSS stands for Cascading Style Sheets. It is used to style the appearance of HTML elements on a webpage.
CSS helps in separating the content of a webpage from its design, making it easier to maintain and update.
It allows for consistent styling across multiple pages of a website.
CSS can be used to control layout, colors, fonts, and other visual aspects of a webpage.
It enables responsive design, making websites adapt to d...
To find a loop in a linked list, we can use the Floyd's cycle-finding algorithm.
Use two pointers, one moving at a speed of one node at a time and the other at a speed of two nodes at a time.
If there is a loop, the two pointers will eventually meet at the same node.
To find the starting point of the loop, move one pointer back to the head and then move both pointers at a speed of one node at a time.
The point where they m...
I enjoy exploring new technologies, solving complex problems, and collaborating with others to create innovative solutions.
Exploring new technologies
Solving complex problems
Collaborating with others
Creating innovative solutions
posted on 2 Dec 2016
I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.
I appeared for an interview in Jun 2016.
based on 1 review
Rating in categories
Staff Engineer
316
salaries
| ₹15 L/yr - ₹40 L/yr |
Principal Engineer
203
salaries
| ₹20 L/yr - ₹59 L/yr |
Senior Engineer
147
salaries
| ₹13.3 L/yr - ₹25.2 L/yr |
Test Engineer
133
salaries
| ₹3 L/yr - ₹8.2 L/yr |
Senior Software Engineer
75
salaries
| ₹10 L/yr - ₹25 L/yr |
Vivo
OPPO
Dell
LG Electronics