i
Protium
Finance
Filter interviews by
Given a sorted array of distinct integers that has been rotated clockwise by an unknown amount, you need to search for a specified integer in the array. For...
This is a problem where a sorted array is rotated and we need to search for given numbers in the array.
The array is rotated clockwise by an unknown amount.
We need to search for Q numbers in the array.
If a number is found, return its index, otherwise return -1.
The search needs to be done in O(logN) time complexity.
The input consists of the size of the array, the array itself, the number of queries, and the queries.
Garbage collector in JAVA is an automatic memory management system that frees up memory by identifying and removing unused objects.
Garbage collector is responsible for reclaiming memory occupied by objects that are no longer in use.
It automatically identifies and removes objects that are no longer reachable by the program.
Garbage collector helps prevent memory leaks and improves performance by freeing up memory.
It...
Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a blueprint for classes to implement and can only have abstract methods.
Abstract class can have constructors, while interface cannot.
A class can only extend one abstract class, but can implement multiple interfaces.
Abstract class can have instance variables, while interface cannot.
Abstract class ...
Orphan process is a process whose parent process has terminated, while a zombie process is a process that has completed execution but still has an entry in the process table.
Orphan process: Parent process has terminated, but the child process is still running.
Zombie process: Child process has completed execution, but the parent process has not yet collected its exit status.
Orphan processes are adopted by the init ...
Exception handling is a mechanism in programming to handle and manage errors or exceptional situations that may occur during program execution.
Exception handling is a way to gracefully handle errors or exceptional situations in a program.
It involves catching and handling exceptions, which are unexpected events that disrupt the normal flow of program execution.
Exception handling allows the program to recover from e...
User threads are non-daemon threads that keep the application alive until they complete, while daemon threads are background threads that do not prevent the application from terminating.
User threads are created by the application and are responsible for executing the main logic.
Daemon threads are created by the JVM and are used for background tasks.
User threads prevent the application from terminating until they c...
Given several queries each containing a single integer 'N', the task is to find the prime factorization of each integer using a sieve method.
N = 12...
The task is to find the prime factorization of given integers using a sieve.
Implement a function to find the prime factors of each integer using a sieve algorithm.
Use the given input format to read the number of test cases and queries.
For each query, iterate through numbers from 2 to sqrt(N) and check if they are prime factors of N.
If a number is a prime factor, divide N by that number and continue the process unt...
Given a tree with a root at node 0 and N vertices connected with N-1 edges, and an array QUERY
of size Q, where each element in the array represents a node in the tree. For each n...
This question is about finding the XOR of all values of nodes in the sub-tree of a given node in a tree.
Read the input values for the number of test cases, number of nodes, and number of queries.
Construct the tree using the given edges.
For each query, traverse the sub-tree of the given node and calculate the XOR of all node values.
Print the XOR values for each query.
Given an array ARR
and an integer K
, determine the number of sub-arrays in which the sum is divisible by K
.
ARR = {5, 0, 2, 3, 1}, K = 5
The task is to count the number of subarrays in an array whose sum is divisible by a given integer.
Iterate through the array and calculate the cumulative sum at each index.
Store the remainder of each cumulative sum divided by K in a hashmap.
If the remainder is already present in the hashmap, increment the count by the value in the hashmap.
If the remainder is 0, increment the count by 1.
Update the hashmap with the ...
Sort a given array of integers in ascending order using the Quick Sort algorithm.
Quick Sort is a divide and conquer algorithm that involves selecting a pivot element and partiti...
Implement Quick Sort to sort an array of integers in ascending order.
Choose a pivot element from the array
Partition the array into two parts: elements smaller than the pivot and elements larger than the pivot
Recursively apply quick sort on the left and right parts
Combine the sorted left and right parts with the pivot element
I appeared for an interview in Mar 2022.
Round duration - 75 minutes
Round difficulty - Easy
Easy to Medium questions based on Arrays and Hashmap.
Given an array ARR
and an integer K
, determine the number of sub-arrays in which the sum is divisible by K
.
ARR = {5, 0, 2, 3, 1}, K = 5
The task is to count the number of subarrays in an array whose sum is divisible by a given integer.
Iterate through the array and calculate the cumulative sum at each index.
Store the remainder of each cumulative sum divided by K in a hashmap.
If the remainder is already present in the hashmap, increment the count by the value in the hashmap.
If the remainder is 0, increment the count by 1.
Update the hashmap with the remai...
Given a tree with a root at node 0 and N vertices connected with N-1 edges, and an array QUERY
of size Q, where each element in the array represents a node in the tree. For each ...
This question is about finding the XOR of all values of nodes in the sub-tree of a given node in a tree.
Read the input values for the number of test cases, number of nodes, and number of queries.
Construct the tree using the given edges.
For each query, traverse the sub-tree of the given node and calculate the XOR of all node values.
Print the XOR values for each query.
Round duration - 40 minutes
Round difficulty - Easy
Standard DS/Algo round with 2 questions of Easy-Medium level of question
Sort a given array of integers in ascending order using the Quick Sort algorithm.
Quick Sort is a divide and conquer algorithm that involves selecting a pivot element and partit...
Implement Quick Sort to sort an array of integers in ascending order.
Choose a pivot element from the array
Partition the array into two parts: elements smaller than the pivot and elements larger than the pivot
Recursively apply quick sort on the left and right parts
Combine the sorted left and right parts with the pivot element
Given a sorted array of distinct integers that has been rotated clockwise by an unknown amount, you need to search for a specified integer in the array. Fo...
This is a problem where a sorted array is rotated and we need to search for given numbers in the array.
The array is rotated clockwise by an unknown amount.
We need to search for Q numbers in the array.
If a number is found, return its index, otherwise return -1.
The search needs to be done in O(logN) time complexity.
The input consists of the size of the array, the array itself, the number of queries, and the queries.
Round duration - 40 minutes
Round difficulty - Easy
Questions related to DSA - Prime Factorisation of a number
Questions related to OS - Difference between orphan and zombie process and few more questions from OS
Questions related to Java- Internal working , Threading, Debugging, OOPs
Garbage collector in JAVA is an automatic memory management system that frees up memory by identifying and removing unused objects.
Garbage collector is responsible for reclaiming memory occupied by objects that are no longer in use.
It automatically identifies and removes objects that are no longer reachable by the program.
Garbage collector helps prevent memory leaks and improves performance by freeing up memory.
It uses...
Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a blueprint for classes to implement and can only have abstract methods.
Abstract class can have constructors, while interface cannot.
A class can only extend one abstract class, but can implement multiple interfaces.
Abstract class can have instance variables, while interface cannot.
Abstract class can p...
Exception handling is a mechanism in programming to handle and manage errors or exceptional situations that may occur during program execution.
Exception handling is a way to gracefully handle errors or exceptional situations in a program.
It involves catching and handling exceptions, which are unexpected events that disrupt the normal flow of program execution.
Exception handling allows the program to recover from errors...
User threads are non-daemon threads that keep the application alive until they complete, while daemon threads are background threads that do not prevent the application from terminating.
User threads are created by the application and are responsible for executing the main logic.
Daemon threads are created by the JVM and are used for background tasks.
User threads prevent the application from terminating until they comple...
Orphan process is a process whose parent process has terminated, while a zombie process is a process that has completed execution but still has an entry in the process table.
Orphan process: Parent process has terminated, but the child process is still running.
Zombie process: Child process has completed execution, but the parent process has not yet collected its exit status.
Orphan processes are adopted by the init proce...
Given several queries each containing a single integer 'N', the task is to find the prime factorization of each integer using a sieve method.
N = 1...
The task is to find the prime factorization of given integers using a sieve.
Implement a function to find the prime factors of each integer using a sieve algorithm.
Use the given input format to read the number of test cases and queries.
For each query, iterate through numbers from 2 to sqrt(N) and check if they are prime factors of N.
If a number is a prime factor, divide N by that number and continue the process until N ...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Top trending discussions
I applied via Campus Placement and was interviewed in Mar 2024. There were 2 interview rounds.
An aggregator is a system or service that collects and organizes data from multiple sources into a unified view.
Aggregators can be used in various domains, such as news, e-commerce, and data analysis.
Example: News aggregators like Google News compile articles from different news sources.
In e-commerce, price aggregators compare prices from various retailers to help consumers find the best deals.
Data aggregators collect ...
I applied via Recruitment Consulltant and was interviewed before Apr 2023. There were 4 interview rounds.
It was a online hacker rank type test with medium hard question
Print left view of binary tree
Traverse the binary tree level by level
Print the first node at each level encountered
I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.
Leet code problem. Sliding window
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 LinkedIn and was interviewed in Feb 2024. There was 1 interview round.
Credit Manager
123
salaries
| ₹4 L/yr - ₹9.5 L/yr |
Sales Manager
119
salaries
| ₹3.7 L/yr - ₹8.2 L/yr |
Relationship Manager
100
salaries
| ₹1.6 L/yr - ₹4.2 L/yr |
Senior Relationship Manager
82
salaries
| ₹2.7 L/yr - ₹4.2 L/yr |
Credit Processing Associate
71
salaries
| ₹2 L/yr - ₹4.5 L/yr |
SBI Cards & Payment Services
Axis Direct
Kotak Securities
Aadhar Housing Finance