Filter interviews by
I applied via campus placement at National Institute of Technology (NIT), Jamshedpur and was interviewed before Jul 2023. There were 4 interview rounds.
45 questions time - 30min
2 Medium Leetcode questions
Use a big integer library to calculate factorial of large numbers like 100.
Use a big integer library like BigInteger in Java or BigInt in Python.
Implement a function to calculate factorial recursively or iteratively.
Handle large numbers by storing them in arrays or strings.
posted on 3 Aug 2024
I applied via campus placement at Galgotias College of Engineering and Technology, Greater Noida and was interviewed in Jul 2024. There were 3 interview rounds.
posted on 15 Oct 2024
I applied via campus placement at KIIT University, Bhuvaneshwar and was interviewed in Apr 2024. There were 3 interview rounds.
Medium level coding questions on hackerrank ,1:30hr, topic- Array , DP , Matrix , Binary Search
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
Timing was 10AM. The platform was quite good.
1. A ‘path’ is a sequence of adjacent pair nodes with an edge ...
The idea here is to use the recursion. For each node, We can calculate the maximum path sum by keeping track of the following paths:
We then pick the maximum one among them. The root of ev...
While iterating over the array, check the current element, and if not in the correct place, replace that element with the index of the element which should have come in this place.
Below is the algorithm:
We will scan the expression from left to write and if we encounter an operand we will append it to our answer. If we encounter an operator we will pop all the operators with equal or higher precedence and append them to our answer. And push the current operator. In the end, we will empty the stack.
Order of precedence = [ ‘^’, ‘*’ and ‘/’, ‘+’ and ‘-’, ‘(’, ‘)’]
Order of precedence [ link ]
The algorithm will be-
Tip 1 : Do at least 1 project.
Tip 2 : Practice data structure questions.
Tip 3 : Dynamic programming is must.
Tip 1 : Do not put false things.
Tip 2 : Keep it short and direct.
posted on 16 Sep 2021
I was interviewed in Feb 2021.
Round duration - 70 Minutes
Round difficulty - Medium
Timing was 9:15AM. Platform was not very good. Questions were not well explained.
Approach: We can start the traversal of the paths from the rat’s starting position, i.e. (0,0) keeping track of the visited cells during the traversal. We will recursively go through all the paths possible until the last index of the grid (destination) is reached, and add the path information using which the rat successfully reached the end.
Algorithm is as follows:
The idea is to fix a character at a position and then find the permutations for rest of the characters.
Make a list ‘ans’ which will contain the permutations of the given string.
Let’s define a function generatePermutaionsHelper(Str, l, r). This function generates the permutations of the substring which starts from index ‘l’ and ends at index ‘r’.
Tip 1 : Prepare maximum algorithms.
Tip 2 : Deep knowledge of data structure.
Tip 3 : OOPS is must.
Tip 1 : Keep it short.
Tip 2 : Mention only your own projects.
I was interviewed before Jun 2016.
I have the ability to handle pressure effectively.
I remain calm and focused in high-pressure situations.
I prioritize tasks and manage my time efficiently.
I seek support and guidance from team members when needed.
I maintain a positive attitude and adapt to changing circumstances.
I have successfully completed projects under tight deadlines.
posted on 17 Jun 2024
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
Timing was 10AM. The platform was quite good.
If the height of bars of the histogram is given then the largest area of the histogram can be found. This way in each row, the largest area of bars of the histogram can be found. To get the largest rectangle full of 1’s, update the next row with the previous row and find the largest area under the histogram, i.e. consider each 1’s as filled squares and 0’s with an empty square and consider each row as the base.
For each node there can be four ways that the max path goes through the node:
1. Node only
2. Max path through Left Child + Node
3. Max path through Right Child + Node
4. Max path through Left Child + Node + Max path through Right Child
This can be easily done by visualizing the problem as a graph. We will have n nodes and an edge directed from node i to node j if the element at i’th index must be present at j’th index in the sorted array.
Algorithm for Prefix to Infix:
Read the Prefix expression in reverse order (from right to left)
If the symbol is an operand, then push it onto the Stack
If the symbol is an operator, then pop two operands from the Stack
Create a string by concatenating the two operands and the operator between them.
string = (operand1 + operator + operand2)
And push the resultant string back to Stack
Repeat the above steps until end of Prefix
Tip 1 : Do at least 1 project.
Tip 2 : Practice data structure questions.
Tip 3 : Dynamic programming is must.
Tip 1 : Do not put false things.
Tip 2 : Keep it short and direct.
posted on 16 Sep 2021
I was interviewed in Feb 2021.
Round duration - 70 minutes
Round difficulty - Medium
Timing was 9:15AM. Platform was not very good. Questions were not well explained.
Approach: We can start the traversal of the paths from the rat’s starting position, i.e. (0,0) keeping track of the visited cells during the traversal. We will recursively go through all the paths possible until the last index of the grid (destination) is reached, and add the path information using which the rat successfully reached the end.
Algorithm is as follows:
Tip 1 : Prepare maximum algorithms.
Tip 2 : Deep knowledge of data structure.
Tip 3 : OOPS is must.
Tip 1 : Keep it short.
Tip 2 : Mention only your own projects.
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
Timing was 10AM. The platform was user-friendly.
1. A ‘path’ is a sequence of adjacent pair nodes with an edge ...
The idea here is to use the recursion. For each node, We can calculate the maximum path sum by keeping track of the following paths:
We then pick the maximum one among them. The root of ev...
While iterating over the array, check the current element, and if not in the correct place, replace that element with the index of the element which should have come in this place.
Below is the algorithm:
The idea is to iterate over the expression from right to left and store the operands in a stack. Here, we are using a stack of strings for storing the operands. Whenever we encounter an operator, pop the top two operands from the stack and convert the expression to its infix form and then push back to the stack.
Tip 1 : Atleast 1 project
Tip 2 : Practice data structures
Tip 1 : Keep it short
Tip 2 : Don't put false information
based on 1 review
Rating in categories
Business Analyst
35
salaries
| ₹6.6 L/yr - ₹10 L/yr |
Sde1
27
salaries
| ₹15 L/yr - ₹23.8 L/yr |
Software Development Engineer
26
salaries
| ₹12 L/yr - ₹20 L/yr |
Software Developer
24
salaries
| ₹9.5 L/yr - ₹23 L/yr |
Software Engineer
22
salaries
| ₹8.2 L/yr - ₹22.8 L/yr |
Myntra
Flipkart
Snapdeal
Shopclues