Filter interviews by
I applied via Walk-in and was interviewed in Apr 2022. There were 2 interview rounds.
posted on 26 Jan 2022
Test was about finance+ English+ reasoning
Lists and tuples are data structures in Python used to store collections of items.
Lists are mutable and ordered, allowing for easy addition and removal of elements.
Tuples are immutable and ordered, making them useful for storing related data that should not be changed.
Both can store any type of data, including other lists or tuples.
Lists are created using square brackets, while tuples use parentheses.
Example: my_list =...
Inheritance is a mechanism in OOP where a new class is derived from an existing class.
It allows the new class to inherit the properties and methods of the existing class.
The existing class is called the parent or base class, and the new class is called the child or derived class.
There are different types of inheritance: single, multiple, multilevel, and hierarchical.
Example: A car class can be a parent class, and a sed...
Code for sum of n natural numbers
Use a loop to iterate from 1 to n and add each number to a sum variable
Return the sum variable
posted on 29 Mar 2021
I applied via Naukri.com
I was interviewed in Dec 2020.
Round duration - 70 minutes
Round difficulty - Easy
The basic idea of this approach is to iterate the whole ‘ARR’ from start and see if the element present at the current position satisfies the conditions or not. If the element at the current index is not as per requirement then we will find an element which can take that position from ‘ARR’ after that index and replace it with the current element.
Here is the algorithm:
We can use DFS to solve this problem. The idea is to start from each cell in the matrix and explore all eight paths possible and recursively check if they will lead to the solution or not. To make sure that the path is simple and doesn’t contain any cycles, we keep track of cells involved in the current path and before exploring any cell, we ignore it if it is already covered in the current path.
We can f...
Round duration - 50 minutes
Round difficulty - Easy
The nature of the interviewer was very kind. The test was proctored, our webcam and mic were on, and shared my screen.
Consider lines at...
The idea is to use the Map to store all the nodes of a particular diagonal number. We will use preorder traversal to update the Map. The key of the Map will be the diagonal number and the value of the Map will be an array/list that will store all nodes belonging to that diagonal.
The steps are as follows:
The basic idea of this approach is to break the problem into subproblems.
Now, there are three possible cases:
Let us define a recursive function, ‘getDiamter’, which takes the root of the binary tree as input parameter and return...
Round duration - 50 minutes
Round difficulty - Medium
The nature of the interviewer was very kind, helped me when I stuck. The test was proctored, our webcam and mic were on, and shared my screen.
For every element in the array, we will run a loop on its right side. As soon as we find an element on its right side which is greater than it, we will break the loop, assign it as the NGE of this element, move forward, and do the same for the next element.
Space Complexity: O(1)Explanation:O(1)
No extra space is used.
Time Complexity: O(n^2)Explanation:O(N ^ 2), Where N is the number of elements ...
The idea is to generate all possible subsets and check if any of them sums up to ‘K’. This can be done through recursion.
Here is the algorithm:
subsetSumToK(N , K , ARR):
helper(ARR, N, K):
Round duration - 50 minutes
Round difficulty - Easy
The nature of the interviewer was very kind, helped me when I stuck. The test was proctored, our webcam and mic were on, and shared my screen.
This problem can be solved by solving its subproblems and then combining the solutions of the solved subproblems to solve the original problem. We will do this using recursion.
Basically, we have to buy the stock at the minimum possible price and sell at the maximum possible price, keeping in mind that we have to sell the stock before buying it again.
Below is the detailed algorithm:
SQL command
ACID properties
Difference between unique primary and foreign key.
What is segementation.
Difference between internal and external fragmentation.
Tip 1 : Do at least 1 projects at any technology
Tip 2 : Learn DSA at least these topics Array, LL, Tree, DP
Tip 1 : At least mention the projects or internships on your resume.
Tip 2 : Avoid unnecessary details like Hobbies, declaration, date.
I applied via Recruitment Consultant and was interviewed in Apr 2021. There were 4 interview rounds.
I applied via Company Website and was interviewed in Apr 2021. There were 3 interview rounds.
posted on 7 Apr 2021
I applied via Company Website and was interviewed in Mar 2021. There was 1 interview round.
posted on 17 Mar 2020
I applied via Walk-in and was interviewed in Nov 2020. There was 1 interview round.
based on 4 reviews
Rating in categories
Mechanical Engineer
7
salaries
| ₹2 L/yr - ₹4 L/yr |
Junior Engineer
6
salaries
| ₹2.3 L/yr - ₹3.1 L/yr |
Quality Engineer
6
salaries
| ₹1.8 L/yr - ₹2.5 L/yr |
Diploma Mechanical Engineer
5
salaries
| ₹1.5 L/yr - ₹2 L/yr |
Graduate Engineer Trainee (Get)
5
salaries
| ₹1.8 L/yr - ₹2.4 L/yr |
DXC Technology
Mphasis
Infosys BPM
WNS