Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Data Structures and Algorithm Questions
I applied via Approached by Company and was interviewed in Apr 2024. There were 2 interview rounds.
Find the maximum variation in a subarray of integers.
Iterate through the array and keep track of the maximum and minimum values seen so far.
Calculate the variation by subtracting the minimum value from the maximum value.
Return the maximum variation found in any subarray.
I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.
It was easy as compared to traditional questions
What people are saying about Google
I applied via Company Website and was interviewed in Oct 2023. There was 1 interview round.
Use two heaps to maintain the median in a data stream
Use a max heap to store the smaller half of the numbers and a min heap to store the larger half
Keep the size of the two heaps balanced or differ by at most 1 to find the median efficiently
If the total number of elements is odd, the median is the top element of the max heap. If even, average the tops of both heaps
Google interview questions for designations
posted on 8 Apr 2021
posted on 19 May 2022
I appeared for an interview before May 2021.
Round duration - 60 Minutes
Round difficulty - Easy
Given a binary tree with 'N' nodes, your task is to print the nodes in spiral order traversal.
The binary tree is represented i...
Print nodes of a binary tree in spiral order traversal.
Use a queue to perform level order traversal of the binary tree.
Alternate between printing nodes from left to right and right to left at each level.
Handle null nodes represented by '-1' appropriately.
Example: For input '1 2 3 -1 -1 4 5 -1 -1 -1 -1', the output should be '1 3 2 4 5'.
Round duration - 60 Minutes
Round difficulty - Easy
You are given a list of N
strings called A
. Your task is to determine whether you can form a given target string by combining one or more strings from A
.
The strings from A
c...
Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.
Iterate through all possible combinations of strings from the list to form the target string.
Use recursion to try different combinations of strings.
Check if the current combination forms the target string.
Return true if a valid combination is found, otherwise return false.
Round duration - 60 Minutes
Round difficulty - Easy
Design an elevator system for efficient vertical transportation.
Divide building into zones to optimize elevator usage.
Implement algorithms for efficient elevator scheduling.
Include safety features like emergency stop buttons and overload sensors.
Consider user interface for passengers to select floors and monitor elevator status.
Tip 1 : Never give up
Tip 2 : Practice
Tip 3 : Be positive
Tip 1 : Keep it short
Tip 2 : Highlight skills and achievements
I appeared for an interview in Jul 2019.
I applied via Naukri.com and was interviewed in Mar 2020. There were 4 interview rounds.
Rotational shifts refer to working in different shifts at different times. Web service flow is the sequence of steps involved in a web service request. Checking ports on Unix or Solaris machine involves using the netstat command.
Rotational shifts involve working in different shifts at different times, such as day shift, night shift, and swing shift.
Web service flow involves a sequence of steps, such as sending a reques...
posted on 4 Mar 2021
Learning programming languages is important for software engineers to effectively communicate with computers and develop software solutions.
Programming languages are the foundation of software development.
Learning multiple languages expands the range of problems a software engineer can solve.
Different languages have different strengths and are suited for different tasks.
Knowing multiple languages improves adaptability ...
I applied via Campus Placement and was interviewed before Jun 2020. There were 4 interview rounds.
based on 4 interviews
Interview experience
based on 1 review
Rating in categories
Software Engineer
1.8k
salaries
| ₹19 L/yr - ₹80 L/yr |
Software Developer
1.5k
salaries
| ₹27.2 L/yr - ₹60 L/yr |
Senior Software Engineer
860
salaries
| ₹20 L/yr - ₹80 L/yr |
Data Scientist
300
salaries
| ₹26 L/yr - ₹55 L/yr |
Data Analyst
261
salaries
| ₹7.2 L/yr - ₹22.8 L/yr |
Yahoo
Amazon
Microsoft Corporation