Filter interviews by
I was interviewed in Jan 2021.
Round duration - 125 minutes
Round difficulty - Easy
This round consist of coding questions and they were of good level based on strings and dynamic programming.
This round was the online coding test conducted on the platform Amcat. The languages allowed were C, C++, Java and Python.
Ninja enjoys working with numbers, and Alice challenges him to find the Kth largest value from a given list of numbers.
The first line contains an integer 'T...
The idea is to sort the elements and return the kth largest element among them.
The steps are as follows:
O(1), no extra space required.
As we are not using any extra space. Hence, the overall space complexity is O(1).
Time Complexity: O(nlogn)Explanation:O(N*logN), where ‘N’ is the total number...
Given an arithmetic expression EXP
containing integer values separated by any of the operators ‘+’, ‘-’, and ‘*’, your task is to place parentheses such that the value of the exp...
The basic idea to solve this problem is to recursively place parentheses at all possible positions and find the maximum value obtained among all.
We can divide the input expression into smaller expressions recursively and find the maximum value.
If the input expression is ( EXP[ 0 ] opr EXP[ 1 ] opr EXP[ 2 ].............opr EXP[ n-1 ] ), then we can divide this expression into two as -
( EXP[ 0 ] opr…...
Round duration - 45 minutes
Round difficulty - Easy
The interview took place in the morning and the interviewer was very friendly.
You are given a connected undirected weighted graph. Your task is to determine the weight of the minimum spanning tree of this graph.
A minimum...
The basic idea of Kruskal’s algorithm is to sort the edges of the graph in non-decreasing order by its weight. And place all the nodes of the original graph isolated from each other, to form a forest of single node trees. Then, at each step of the algorithm, we will try to merge the trees by an edge of the original graph. The idea here is to choose the edges greedily. At each iteration, choose the ed...
Convert a given binary tree into its sum tree. In a sum tree, every node's value is replaced with the sum of its immediate children's values. Leaf nodes are set to 0. Finally, return th...
The approach is very simple and can be achieved using the tree Depth First traversal approach.
Divide the tasks into two parts.
You are given a binary tree of integers. Your task is to determine the left view of the binary tree. The left view consists of nodes that are visible when the tree...
The idea is to use preorder traversal and for each level of the binary tree include the leftmost node in the answer. In the preorder traversal, we will traverse the left subtree of any node before the right subtree so that all nodes to the left of the current node are visited before the nodes which are on the right of the current node. Hence for any level, we will reach the leftmost node befo...
Tip 1 : Just be confident during interview and if you are stuck in between any question, then ask for a hint from the interviewer. The practice is key for success, so practice hard for Data Structures and Algorithms coding problems on Coding ninjas as it is the best platform for coding. Also you may practice on Geeks For Geeks or any other interview portal.
Tip 2 : Try to do as much as Data structures related questions as practice made a man perfect.
Tip 3 : If you have already done similar types of questions then you will get a solution approach very fastly during the interview.
Tip 1 : Mention all internships which you have done, as it increases your chances of shortlisting your resume.
Tip 2 : Keep resume short and up to the point and try to keep it on a single page.
Tip 3 : Also just write that skills which you are pretty confident about.
Top trending discussions
posted on 23 Oct 2024
I applied via Indeed and was interviewed in Sep 2024. There were 4 interview rounds.
posted on 5 Dec 2024
I applied via Campus Placement
posted on 11 Jan 2025
Coding Rount
DSA Round + Puzzle
SQL + Project Discussion
JS
I applied via Campus Placement
Dsa problems dp and tress problem
Reverse array of strings
Iterate through the array and swap elements from start to end
Use two pointers, one at the beginning and one at the end, and swap elements until they meet
Reverse a given string
Use built-in functions like reverse() or loop through the string in reverse order
Create a new string and append characters from the original string in reverse order
Convert the string to an array of characters, reverse the array, and then join it back into a string
Calculate sum of all elements in a given array of strings
Iterate through the array and convert each element to integer before adding to sum
Handle edge cases like empty array or non-numeric elements
Return the final sum after iterating through all elements
I applied via LinkedIn and was interviewed in Mar 2024. There were 2 interview rounds.
Coding exercise related to probability
Tech stack for real time applications includes WebSocket, Node.js, Redis, and MongoDB.
Use WebSocket for real-time communication between client and server
Node.js for server-side logic and handling multiple connections efficiently
Redis for caching and storing real-time data
MongoDB for persistent data storage and retrieval
I applied via Naukri.com and was interviewed in Dec 2023. There was 1 interview round.
I applied via Campus Placement and was interviewed in Sep 2023. There were 4 interview rounds.
Duration:30 min
Question from percentage,ratios ,HCF/LCM etc.,
Logical reasoning, English
Reverse a string by grouping 'm' characters together
Iterate through the string in groups of 'm' characters
Reverse each group of 'm' characters
Concatenate the reversed groups to get the final reversed string
based on 10 reviews
Rating in categories
Software Engineer
77
salaries
| ₹5 L/yr - ₹13.2 L/yr |
Senior Software Engineer
35
salaries
| ₹8 L/yr - ₹20.5 L/yr |
E-Commerce Analyst
29
salaries
| ₹4 L/yr - ₹7 L/yr |
Business Analyst
18
salaries
| ₹2.5 L/yr - ₹10 L/yr |
QA Engineer
17
salaries
| ₹4 L/yr - ₹8 L/yr |
TCS
Infosys
Wipro
HCLTech