Filter interviews by
I applied via LinkedIn and was interviewed in Jun 2024. There were 2 interview rounds.
Strategies leetcode,pandas,
Top trending discussions
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
The coding round consisted of 3 coding questions. 1st question was of 20 marks, 2nd and 3rd of 50 marks.
Given an array 'ARR' consisting of 'N' positive integers, determine the minimum number of operations needed to make all elements of the array equal. You may ...
Determine minimum operations to make all array elements equal using addition, subtraction, multiplication, or division.
Iterate through array to find the minimum and maximum values
Calculate the difference between the maximum and minimum values
Return the difference as the minimum number of operations needed
Given an array of obstacles' coordinates, determine the minimal jump length to reach beyond all obstacles starting from coordinate 0 while avoiding landing on any obstacle...
Find the minimal jump length to bypass all obstacles while avoiding landing on any obstacle.
Iterate through the obstacle coordinates to find the maximum coordinate.
Calculate the minimum jump length needed to bypass all obstacles.
Ensure the jump length consistently avoids all obstacle points.
The final jump can overshoot the line's end point.
You are given an unsorted array/list ‘ARR’ of ‘N’ integers. Your task is to return the length of the longest consecutive sequence.
The consecutive sequence ...
Find the length of the longest consecutive sequence in an unsorted array of integers.
Sort the array to make it easier to identify consecutive sequences.
Use a set to store unique elements and check for consecutive numbers.
Track the length of consecutive sequences and update the maximum length found.
Handle duplicates by counting only one occurrence in the consecutive sequence.
Round duration - 45 minutes
Round difficulty - Easy
Timing: 10:15 - 11:00 am.
The interview was online from home.
Round duration - 45 minutes
Round difficulty - Medium
Timing: 2:15 - 3:00 PM
The interview was online from home.
There were a few audio cuts in the video call but we were able to manage regardless.
Given a string STR
containing characters from [a-z], [A-Z], [0-9], and special characters, determine the reverse of the string.
The input starts with a single i...
Reverse a given string containing characters from [a-z], [A-Z], [0-9], and special characters.
Iterate through the characters of the string in reverse order and append them to a new string.
Use built-in functions like reverse() or StringBuilder in languages like Python or Java for efficient reversal.
Handle special characters and numbers along with alphabets while reversing the string.
Ensure to print each reversed string
Tip 1 : For OOPS, DS and programming, I recommend Codezen, Leetcode, InterviewBit and GeeksforGeeks.
Tip 2 : For OS, DBMS and Computer Network, I recommend GateSmasher, Knowledge Gate and TutorialsPoint.
Tip 3 : For SQL, I recommend W3Schools and GeeksforGeeks.
Tip 4 : Always maintain your cool during Interviews, and answer the questions calmly. If you get stuck in a problem, do not hesitate to ask for hints.
Tip 1: Mention only those projects and internships in your resume that you are comfortable with, that is, you can explain to the interviewee.
Tip 2: Mention only those skills/programming languages in your resume that you are comfortable with, that is, you have proper knowledge of as the interviewee can ask questions from those languages specifically.
Tip 3: Keep your data in your resume honest and accurate.
Code for rand7 using rand5 function
Use rand5 twice to generate a number in [1,25] with equal probability
If the number is greater than 21, discard and try again
Otherwise, return (number mod 7) + 1
LRU cache is implemented using a doubly linked list and a hash map.
Create a doubly linked list to keep track of the order of elements in the cache.
Create a hash map to store the key-value pairs of the cache.
When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.
When an element is accessed, move it to the front of the linked list to...
Function to randomly select pivot element in Quick Sort
Generate a random index within the range of the array
Return the element at the randomly generated index as the pivot
I appeared for an interview before Sep 2020.
Round duration - 60 minutes
Round difficulty - Easy
The interviewer called my via phone and simultaneously provided me a link where I had to write the code for a given problem. It was scheduled at 12:30 pm, so timing was not an issue. It was a standard DP question involving a 2D matrix. The question was easy and I was able to code it within given time.
Round duration - 60 minutes
Round difficulty - Easy
The interviewer asked me two coding questions in this round.
Efficient program to find sum of largest contiguous subarray within a one-dimensional array.
Use Kadane's algorithm to find the maximum sum subarray in O(n) time complexity.
Initialize max_sum and current_sum to 0, iterate through array updating current_sum and max_sum.
Return max_sum as the result.
Round duration - 60 minutes
Round difficulty - Easy
This was on-site round at their Bangalore office. The interviewer was friendly and helpful. The interview held inside a conference room.
Given an undirected and disconnected graph G(V, E)
, where V
is the number of vertices and E
is the number of edges, the connections between vertices are provided in the 'GR...
DFS traversal problem to find connected components in an undirected and disconnected graph.
Use Depth First Search (DFS) algorithm to traverse the graph and find connected components
Maintain a visited array to keep track of visited vertices
Iterate through all vertices and perform DFS on unvisited vertices to find connected components
Round duration - 60 minutes
Round difficulty - Easy
This was the next round of the onsite interviews. Took place in the same conference room as that of the previous round.
Round duration - 60 minutes
Round difficulty - Easy
This was the third round of the onsite interview.
Practice DP based questions as much as you can. Also, be confident during the interview about your solution. For practice, you can prefer Coding Ninjas and Geeks For Geeks.
Application resume tips for other job seekersKeep it short. Mention the academic and professional projects you've done. Add your educational details properly with percentage or CGPA obtained.
Final outcome of the interviewSelectedI applied via Naukri.com and was interviewed in Feb 2022. There were 3 interview rounds.
I appeared for an interview before Sep 2020.
Round duration - 150 mintues
Round difficulty - Medium
Nice goes i good environment.
Imagine you are Harshad Mehta's friend, and you have been given the stock prices of a particular company for the next 'N' days. You can perform up to two buy-and-sell ...
The task is to determine the maximum profit that can be achieved by performing up to two buy-and-sell transactions on a given set of stock prices.
Iterate through the array of stock prices and calculate the maximum profit that can be achieved by buying and selling at different points.
Keep track of the maximum profit after the first transaction and the maximum profit overall by considering different combinations of buy a...
Round duration - 90 minutes
Round difficulty - Easy
It happens in a nice environment but internet connection was week.
You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.
The first line co...
Implement a function to delete a node from a linked list at a specified position.
Traverse the linked list to find the node at the specified position.
Update the pointers of the previous and next nodes to skip the node to be deleted.
Handle edge cases such as deleting the head or tail of the linked list.
Ensure to free the memory of the deleted node to avoid memory leaks.
Tip 1 : Prepare your resume well.
Tip 2 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume.
Tip 3 : Be thorough with Data Structures and Algorithms. Also prepare well topics such as OS,DBMS.
Tip 1 : Deploy your projects so that the interviewer can view it. Also provide a hyperlink on your resume
Tip 2 : It's not important to have fancy projects. Only mention those on which you're confident.
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
The test was scheduled around 5 evening and it had 3 coding questions. First question was on Dynamic Programming and other was medium question and was easy and the third was based on graph. And there were 20 mcq questions on Data structures, DBMS and OS
Explanation: You are given an 'M' x 'N' matrix of characters named CHARACTER_MATRIX
and a string WORD
. Your task is to identify and list all the occurrences of the string within...
Matrix Word Search Problem - Find occurrences of a given word in all eight possible directions within a matrix.
Iterate through each cell in the matrix and check for the starting character of the word.
For each occurrence of the starting character, check all eight directions for the complete word.
Keep track of the coordinates of each character in the word for each occurrence found.
Ensure boundaries are not crossed while ...
Round duration - 60 minutes
Round difficulty - Easy
Normal Coding question on Graphs and some basics from DBMS
Given a directed graph with 'V' vertices and 'E' edges, determine if a vertex i
is reachable from vertex j
for all pairs of vertices (i, j)
. A vertex...
Determine reachability between all pairs of vertices in a directed graph.
Use Floyd Warshall algorithm to find transitive closure of the graph.
Initialize a V x V matrix with 1s on the diagonal and 0s elsewhere.
Update matrix by checking if there is a path from i to j through k.
Repeat the process for all vertices to get the transitive closure matrix.
Round duration - 60 minutes
Round difficulty - Hard
He asked me to read about Morse language in wikepedia and asked me to write a code on it i. e. If the input Morse code and in output we should get it in English
You are provided with a string of morse code(s) of length N. Your task is to convert this morse code into the corresponding alphanumeric code consisting of lowercas...
Convert Morse code to alphanumeric code using a predefined table.
Iterate through the morse code string and convert each morse code to its corresponding alphanumeric character using the given table.
Join the converted characters to form the final alphanumeric string.
Handle spaces between morse code characters by adding a space in the final alphanumeric string.
Tip 1 : Do all the questions of interview bit atleast twice for those who are not good in coding much. And simultaneously do mcqs from geeks for geeks especially from the topics Data structures, DBMS and Operating system
Tip 2 : Do go through all the dynamic programming questions from geeks for geeks.
Tip 3 : Practice lot of questions from leetcode.
Tip 1 : Always keep your resume short
Tip 2 :Try to keep it on one page . And never put false things on resume and write only those topics that you have thorough knowledge
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
It consisted of 3 medium-hard dsa questions
I appeared for an interview in Feb 2022.
Round duration - 75 minutes
Round difficulty - Easy
There are 4 easy brute force question.
You are given an array of integers ARR
with a length of N
. Your task is to determine whether it's possible to construct at least one non-degenerate triangle using the val...
Determine if it's possible to form a non-degenerate triangle using array elements as sides.
Check if the sum of any two sides is greater than the third side to form a triangle.
If any such combination exists, return 'YES'; otherwise, return 'NO'.
Example: For input [3, 4, 5], sum of 3 + 4 > 5, so 'YES'. For [1, 10, 12, 30], no such combination exists, so 'NO'.
Round duration - 90 minutes
Round difficulty - Medium
There are 3 DS question, all are easy medium and medium level
Round duration - 90 minutes
Round difficulty - Medium
There are 3 coding problems asked which need to coded and compiled
Given an 'N' x 'M' grid, find the minimum number of moves required to collect all keys when starting at a specified point. Each move allows you to travel to an adjacent c...
Find the minimum number of moves required to collect all keys in a grid starting from a specified point.
Use breadth-first search (BFS) to explore all possible paths from the starting point to collect keys.
Keep track of keys collected, locks encountered, and the number of moves taken in each path.
Avoid revisiting cells, and consider the movement rules while traversing the grid.
Return the minimum number of moves to colle
Round duration - 60 minutes
Round difficulty - Medium
There are back to back many question are asked, one have to give approach and pseudo, no need for compilable code
You are required to implement an AVL Tree from scratch. Given 'N' values representing nodes, insert these values into the AVL Tree and return its root after all ins...
Implement an AVL Tree from scratch and insert given values to balance the tree.
Implement AVL Tree with rotation operations for balancing.
Maintain balance factor for each node to ensure AVL property.
Perform rotations (single or double) based on balance factor to balance the tree.
Update heights of nodes after insertion to maintain AVL property.
Ensure tree remains balanced after each insertion operation.
You have a briefcase secured by a lock with 4 circular wheels. The password is a sequence of 4 digits. Each wheel has 10 slots labeled ‘0’ through ‘9’. The wheels ca...
Find the minimum number of rotations required to unlock a briefcase with a given target code, considering dead-end codes.
Iterate through all possible combinations of rotations to find the shortest path to the target code.
Use a queue to efficiently explore all possible combinations.
If the target code is a dead-end code, return -1 as it is not feasible to unlock the briefcase.
Round duration - 60 minutes
Round difficulty - Easy
it was hiring manager round, most discussion is based on my resume and previous work
Tip 1 : Go through basics of data structure and algorithm.
Tip 2 : Focus specially on tree, graph and DP( 2D max).
Tip 3 : Detail understanding of everything written in resume
Tip 1 : Keep it clean, no need to use any styles or colour.
Tip 2 : Focus more on projects and experience.
Tip 3 : Use bullets, single lines to explain your work and project, don't be too lengthy, make is brief.
Tip 4 : one page resume is good, you can cut down things like unnecessary achievements
based on 2 interviews
Interview experience
Software Developer
4
salaries
| ₹65 L/yr - ₹120 L/yr |
Executive Accountant
4
salaries
| ₹2.4 L/yr - ₹3.2 L/yr |
HR Manager
3
salaries
| ₹3.6 L/yr - ₹5.6 L/yr |
General Manager
3
salaries
| ₹12 L/yr - ₹12 L/yr |
Assistant Manager- HR
3
salaries
| ₹7 L/yr - ₹7.2 L/yr |
HDB Financial Services
AU Small Finance Bank
Bajaj Finance
Equitas Small Finance Bank