i
Zomato
Filter interviews by
Clear (1)
I applied via Campus Placement
3 coding questions, medium
Priority queue is a data structure that stores elements based on their priority, allowing for efficient retrieval of the highest priority element.
Priority queue can be implemented using a min heap, where the root node always contains the minimum element.
Insertion: Add the new element to the end of the heap and then heapify up to maintain the min heap property.
Deletion: Remove the root node (minimum element), move the l...
I was interviewed in Jan 2021.
I was interviewed in Aug 2016.
What people are saying about Zomato
posted on 4 Sep 2024
It was on naukri website 62 question out of which 2 were coding rest were CS fundamentals and apti
posted on 29 Feb 2024
posted on 13 Sep 2023
I applied via campus placement at Delhi College of Engineering (DCE), Delhi
1.5 hours long, platform was hackerearth.
Reverse a linked list by changing the pointers direction.
Start with three pointers: current, previous, and next.
Iterate through the linked list, updating the pointers to reverse the direction.
Update the head pointer to the last node to complete the reversal.
posted on 1 Dec 2019
I applied via Naukri.com and was interviewed in Mar 2019. There were 5 interview rounds.
Shortest path in 2D matrix
Use BFS or Dijkstra's algorithm
Create a visited matrix to avoid revisiting cells
Keep track of distance and path
Consider obstacles or blocked cells
Vertical order traversal of tree
Vertical order traversal means printing nodes of a binary tree in vertical order
We can use a map to store nodes at each horizontal distance from the root
Then we can traverse the map and print nodes in each horizontal distance
The number of binary strings of length N without consecutive 1s.
Use dynamic programming to solve the problem.
Create an array to store the number of valid strings for each length.
Initialize the array with base cases.
Iterate through the array and calculate the number of valid strings for each length.
Return the value at the Nth index of the array.
Find the first level in a complete binary tree where the height difference between left and right subtrees is more than 1.
Traverse the binary tree level by level using breadth-first search
For each level, calculate the height difference between the left and right subtrees
Return the level number when the height difference is more than 1
posted on 6 Dec 2022
This round consisted of 30 questions which were to be solved in 60 mins. It comprises of three sections each consisting of 10 questions.
Answering questions on finding palindromes and remainders without modulus operator.
To find a palindrome, compare the first and last characters of the string and move towards the center until they meet or the string is not a palindrome.
To find the longest palindrome, iterate through all possible substrings and check if they are palindromes.
To find remainder without modulus operator, use repeated subtraction until the di
posted on 11 Aug 2024
I applied via campus placement at Indian Institute of Technology (IIT), Bhuvaneshwar and was interviewed before Aug 2023. There were 2 interview rounds.
Find the nearest K integers in a Binary Search Tree
Perform an in-order traversal of the BST to get a sorted list of integers
Use a priority queue to keep track of the K nearest integers
Compare the absolute difference between the target integer and each node value to determine the nearest integers
I have experience working on a project to develop a mobile application for tracking fitness goals.
Developed user interface for inputting and tracking fitness data
Integrated with wearable devices to automatically sync data
Implemented gamification features to motivate users to achieve their goals
posted on 15 Jul 2024
I applied via Approached by Company and was interviewed before Jul 2023. There was 1 interview round.
Zigzag level order traversal of tree involves traversing the tree level by level in a zigzag pattern.
Use a queue to perform level order traversal of the tree
Alternate between left to right and right to left traversal for each level
Store the nodes at each level in separate arrays
A vector is a dynamic array that can resize itself as needed.
A vector is typically implemented using a dynamically allocated array.
It provides constant time access to elements using index.
Vectors can grow in size by reallocating memory when needed.
Example: vector
Example: vec.push_back(10);
based on 1 interview
Interview experience
based on 5 reviews
Rating in categories
Key Account Manager
931
salaries
| ₹5 L/yr - ₹15.5 L/yr |
Delivery Boy
893
salaries
| ₹0.4 L/yr - ₹5.4 L/yr |
Business Analyst
588
salaries
| ₹5 L/yr - ₹15 L/yr |
Accounts Manager
296
salaries
| ₹4 L/yr - ₹13.2 L/yr |
Senior Associate
273
salaries
| ₹3.2 L/yr - ₹10 L/yr |
Swiggy
Amazon
Dunzo
Flipkart