Filter interviews by
Find the non-repeating number in an array of strings.
Iterate through the array and count the occurrences of each number using a hashmap.
Return the number that has a count of 1.
Leetcode medium questions, 45 mins
I applied via Campus Placement and was interviewed in Aug 2024. There was 1 interview round.
Three lc med-hard, were there based on bs , arrays , segment trees
Build the conference room
Find the second largest element in an array.
Sort the array and return the second last element
Iterate through the array and keep track of the two largest elements
Use a priority queue to find the second largest element
Given a sorted array with repeated elements, find the occurrence of a given element using binary search.
Use binary search to find the first occurrence of the element
Use binary search to find the last occurrence of the element
Calculate the occurrence by subtracting the indices of the last and first occurrences and adding 1
Implement a data structure and algorithm to print all files in a directory, including sub-directories.
Use an n-ary tree or stack to represent the directory structure
Implement a BFS or DFS algorithm to traverse the directory and print files
Handle sub-directories recursively
Consider using a queue or stack to keep track of directories to visit
Print a matrix diagonally.
Start from the top left corner and print the diagonal elements
Move down and right to print the next diagonal
Repeat until all diagonals are printed
DFS is a traversal algorithm used to visit all nodes of a tree or graph. It can be applied to binary as well as n-ary trees.
DFS stands for Depth First Search.
In DFS, we start from the root node and visit its children recursively until we reach a leaf node.
There are two types of DFS: Preorder (root, left, right) and Postorder (left, right, root).
DFS can be implemented using recursion or a stack data structure.
Example: I...
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Aptitude test anddsa quuestions and also core questions
Dsa round tree and graph questions
I applied via LinkedIn and was interviewed in Dec 2022. There were 3 interview rounds.
3 coding questions one on array
based on 1 interview
Interview experience
Senior Software Engineer
146
salaries
| ₹11 L/yr - ₹39 L/yr |
Product Manager
107
salaries
| ₹13.6 L/yr - ₹36.8 L/yr |
Software Developer
95
salaries
| ₹5.5 L/yr - ₹22.7 L/yr |
Manager
73
salaries
| ₹7.5 L/yr - ₹30 L/yr |
Software Engineer
64
salaries
| ₹5.4 L/yr - ₹20 L/yr |
Info Edge
Network 18
Times Group
INDIA TODAY GROUP