Filter interviews by
I applied via Company Website and was interviewed in May 2023. There were 3 interview rounds.
Calculate the number of children and grandchildren
Count the number of direct children of a person
Count the number of grandchildren of a person
Use recursion to count all descendants
Consider only living descendants
Exclude step-children and adopted children
Certifications are not mandatory for software developers, but can add value to their resume.
Certifications in programming languages like Java, Python, C++
Certifications in software development methodologies like Agile, Scrum
Certifications in cloud computing platforms like AWS, Azure
Certifications in security like CISSP, CEH
Certifications in project management like PMP
Certifications in mobile app development like Androi
I appeared for an interview before Mar 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given a binary tree of integers, return the level order traversal of the binary tree.
The first line contains an integer 'T', representing the number of te...
Return the level order traversal of a binary tree given in level order with null nodes represented by -1.
Create a queue to store nodes for level order traversal
Start with the root node and add it to the queue
While the queue is not empty, dequeue a node, print its value, and enqueue its children
Repeat until all nodes are traversed in level order
Round duration - 45 minutes
Round difficulty - Easy
A deadlock in DBMS occurs when two or more transactions are waiting for each other to release locks, causing them to be stuck indefinitely.
Deadlock is a situation where two or more transactions are unable to proceed because each is waiting for the other to release locks.
To prevent deadlocks, DBMS uses techniques like deadlock detection and prevention algorithms.
Joins in DBMS are used to combine rows from two or more ta...
Round duration - 60 Minutes
Round difficulty - Medium
Design a system for Twitter
Key components: user profiles, tweets, hashtags, timelines
Architecture: microservices, load balancers, databases, caching
Scalability: sharding, replication, CDN
Real-time processing: streaming APIs, push notifications
Round duration - 60 Minutes
Round difficulty - Medium
You are provided with an array of ‘N’ integers and ‘Q’ queries. Each query requires calculating the maximum subarray sum in a specified range of the array.
The first ...
Implement a function to calculate maximum subarray sum queries in a given range of an array.
Iterate through each query and calculate the maximum subarray sum within the specified range using Kadane's algorithm.
Keep track of the maximum sum found so far and update it as needed.
Return the maximum subarray sum for each query in the test case.
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 a single scan over the array to sort it in-place.
Maintain three pointers for 0s, 1s, and 2s and swap elements accordingly.
Example: Input: [0, 2, 1, 2, 0], Output: [0, 0, 1, 2, 2]
Round duration - 20 Minutes
Round difficulty - Medium
Tip 1 : Prepare DS and Algo
Tip 2 : Prepare Dynamic programming
Tip 1 : Good in DS and algo that will be help in the interview that is very neccassry
Tip 2 : Prepare DBMS
I applied via Campus Placement and was interviewed in Jul 2022. There were 3 interview rounds.
10 core subject MCQs along with 3 coding questions
1 Fizz Buzz questions
2 third largest string in array of strings
3 operation on numbers given by strings
Top view of binary tree is the nodes visible when viewed from the topmost node.
Top view shows the nodes visible from the root node's perspective.
Nodes are printed in the order of their horizontal distance from the root node.
If two nodes have the same horizontal distance, the node that appears first in the level order traversal is printed first.
I appeared for an interview in Oct 2021.
Round duration - 50 minutes
Round difficulty - Medium
First round was a basic javascript problem-solving round. The interviewer judged my grasp on fundamental javascript concepts like objects, closures, polyfills, etc. It was during the afternoon and was conducted on google meet and leetcode playground.
The interviewer was very calm. I was first asked some general questions like why I'm applying for this role and what are the projects I've done.
You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the positi...
This question asks to find the position of a target integer in a row-wise and column-wise sorted matrix.
Iterate through each row and column of the matrix
Compare the target integer with the current element
If the target integer is found, return the position as {i, j}
If the target integer is not found, return {-1, -1}
Round duration - 40 minutes
Round difficulty - Easy
One DSA Question along with some javascript questions were asked like hoisting, difference between JSX and Javascript etc.
You are given a long type array/list ARR
of size N
, representing an elevation map. The value ARR[i]
denotes the elevation of the ith
bar. Your task is to determine th...
The question asks to find the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on the left and right.
Sum up the trapped water for all bars and return the total amount.
Tip 1 : Focus on core Javascript fundamentals before becoming a framework ninja
Tip 2 : Have at least one (or more) good project(s) which shows your experience in frontend development
Tip 3 : Practice fundamental javascript questions and machine coding
Tip 1 : Clearly highlight the skills you have which match with the role you are applying for.
Tip 2 : Mention the work you have done in your internships related to your role (frontend in my case), work experience matters
Tip 3 : Mention some really good projects in your resume.
Tip 4 : Having some special achievements like SIH, Gsoc, etc. certainly helps but isn't compulsory.
I appeared for an interview in Apr 2021.
Round duration - 45 Minutes
Round difficulty - Easy
It was a DSA round where I was asked 2 coding questions and optimised approaches for both.
Ninja has started a new startup with a single conference room available for meetings. Given an array/list MEETINGS
of consecutive appointment requests, Ninja must ...
Find the maximum total booked minutes possible in a conference room for all meetings with a 15-minute break between meetings.
Iterate through the list of meeting durations and calculate the maximum total booked minutes considering the 15-minute break constraint.
Keep track of the total booked minutes and skip consecutive meetings that violate the break constraint.
Return the maximum total booked minutes for each test case
Given an M * N matrix where each cell's value represents its height in a 2-D elevation map, calculate the total volume of water that can be trapped after rainfall.
...Calculate the total volume of water that can be trapped in a 2-D elevation map after rainfall.
Iterate through each cell in the matrix and calculate the trapped water based on the surrounding heights.
Use a stack or queue to keep track of the cells to be processed.
Consider edge cases such as when the matrix is empty or has only one row or column.
Round duration - 45 Minutes
Round difficulty - Medium
It was more of discussion around my projects and resume. Also asked some questions related to me. What are your hobbies? Willing to relocate?
Given an array A
consisting of N
integers, your task is to find the smallest subarray of A
that contains exactly K
distinct integers.
If multiple such subarrays...
Find the smallest subarray with exactly K distinct elements in an array.
Use a sliding window approach to keep track of the subarray with K distinct elements.
Maintain a hashmap to count the frequency of each element in the window.
Update the window size based on the number of distinct elements.
Return the smallest subarray with K distinct elements.
Tip 1 : Be consistent, you might not get success in the starting but if you are consistent with your prep, then in the end you will get offers from most companies
Tip 2 : Do participate in contests on leetcode
Tip 3 : Have a good resume
Tip 1 : Good projects
Tip 2 : Includes achievements in coding contests like ACM ICPC or Google kickstart, Hashcode.
I applied via Instahyre and was interviewed in Oct 2024. There was 1 interview round.
Design LLD for Parking Lot
Create classes for ParkingLot, ParkingSpot, Vehicle, etc.
Implement methods for parking, unparking, checking availability, etc.
Consider different types of vehicles and parking spots (e.g. regular, handicapped, electric)
Include features like ticketing system, payment processing, and security measures
I applied via Referral and was interviewed before Feb 2023. There was 1 interview round.
Closure is a function that captures the environment in which it was created, allowing it to access variables from that environment even after the function has finished executing.
Closure allows a function to access variables from its outer scope even after the function has finished executing.
It 'closes over' the variables from the outer scope, preserving their values.
Example: function outerFunction() { let outerVar = 'I...
Event loop is a mechanism that allows for asynchronous programming by handling and executing events in a loop.
Event loop is a part of the runtime environment that listens for events and executes callback functions.
It allows for non-blocking I/O operations by delegating tasks to the operating system.
Event loop is commonly used in JavaScript for handling asynchronous operations like setTimeout, setInterval, and AJAX requ
based on 1 interview
Interview experience
Senior Android Developer
8
salaries
| ₹7 L/yr - ₹12 L/yr |
Product Manager
8
salaries
| ₹13 L/yr - ₹22 L/yr |
Machine Learning Engineer
7
salaries
| ₹10 L/yr - ₹10.9 L/yr |
Android Developer
6
salaries
| ₹2.2 L/yr - ₹11 L/yr |
Visual Designer
6
salaries
| ₹5 L/yr - ₹6 L/yr |
Innovaccer
Freshworks
Zoho
Druva