i
Kroll
Filter interviews by
I applied via Naukri.com and was interviewed before Mar 2022. There were 2 interview rounds.
I applied via Campus Placement and was interviewed in Jul 2021. There was 1 interview round.
Find an odd occurring number among even occurring numbers.
Use XOR operation to cancel out even occurring numbers and get the odd occurring number.
Iterate through the array and XOR each element with the result variable.
The final result will be the odd occurring number.
Print the spiral order of a binary tree and matrix.
For binary tree, use level order traversal and alternate direction for each level.
For matrix, use four pointers to traverse in spiral order.
Example for binary tree: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9
Example for matrix: 1 2 3 4 -> 8 7 6 5 -> 9 10 11 12 -> 16 15 14 13
Finding pairs in an array with a given sum.
Iterate through the array and for each element, check if the difference between the given sum and the element exists in the array.
Use a hash table to store the elements of the array and their indices for faster lookup.
If there are multiple pairs with the same sum, return any one of them.
If no pair is found, return null or an empty array.
Find total number of k element with given avg in an array in minimum time complexity.
Use sliding window technique to traverse the array in O(n) time complexity.
Maintain a sum variable to keep track of the sum of elements in the window.
If the sum of elements in the window is equal to k times the given avg, increment the count.
Move the window by subtracting the first element and adding the next element in the array.
Printing non-boundary elements of a binary tree
Traverse the tree in any order (preorder, inorder, postorder)
Check if the current node is not a boundary node (not the first or last node in its level)
If it is not a boundary node, print its value
Recursively traverse its left and right subtrees
Prototyping in JavaScript allows for quick and easy creation of new objects and functions.
Prototyping allows for inheritance and sharing of properties and methods.
New objects can be created using the 'new' keyword and the prototype of an existing object.
Functions can also be prototyped to add new methods or properties.
Example: function Person(name) { this.name = name; } Person.prototype.greet = function() { console.log...
posted on 24 Jun 2024
I applied via Approached by Company and was interviewed in May 2024. There were 4 interview rounds.
Basic array and vectors DSA questions
posted on 10 Dec 2020
Policy manager is a software tool used to centrally manage and enforce policies across an organization's systems and applications.
Policy manager helps define, monitor, and enforce policies related to security, compliance, access control, and other governance aspects.
It allows administrators to set rules and regulations that govern how data and resources are accessed and used within an organization.
Policy manager can au...
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
1 hour 10 mins, MERN Stack, Face to Face. Mongodb, medium DSA Question, callback, eventloop, NodeJS asynchronous working
I applied via Campus Placement
Low-level design interview
I need to design a Music player app using oops concept
Use an additional stack to store sorted elements and maintain the minimum element at the top of the original stack.
Create a new stack to store sorted elements.
Pop elements from the original stack and compare with the top element of the new stack.
If the popped element is smaller, push it to the new stack. If larger, keep popping from the new stack and push to the original stack until the correct position is found.
Repeat...
A process is an instance of a program running on a computer, while a thread is a smaller unit of execution within a process.
A process has its own memory space, while threads within the same process share memory.
Processes are independent of each other, while threads within the same process can communicate with each other.
Processes are heavyweight, requiring separate memory and resources, while threads are lightweight an...
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class is used to provide a common base for multiple derived classes, while interface is used to define a contract fo...
A race condition is a situation in which the outcome of a program depends on the order of execution of its threads or processes.
Occurs when multiple threads or processes access shared data or resources concurrently
Can lead to unpredictable behavior or bugs in the program
Prevented by using synchronization mechanisms like locks or semaphores
Example: Two threads trying to increment a shared variable simultaneously
Normalization in DBMS is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization involves breaking down a database into smaller, more manageable tables.
It helps in reducing data redundancy by storing data in a structured way.
There are different normal forms like 1NF, 2NF, 3NF, BCNF, etc.
Example: In a database of students, instead of storing student details in multiple ...
I applied via Walk-in and was interviewed in Sep 2023. There were 3 interview rounds.
An aptitude has exam used to determine an individual skills a given activity
based on 1 interview
Interview experience
based on 3 reviews
Rating in categories
Analyst
53
salaries
| ₹4 L/yr - ₹11 L/yr |
Consultant
40
salaries
| ₹7.2 L/yr - ₹22.5 L/yr |
Data Executive
38
salaries
| ₹2.2 L/yr - ₹3.6 L/yr |
Senior Consultant
27
salaries
| ₹16 L/yr - ₹28.9 L/yr |
Senior Associate
27
salaries
| ₹7 L/yr - ₹19 L/yr |
Apex Group
Morningstar
Fidelity International
DTCC