Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Aug 2023. There were 2 interview rounds.
posted on 10 May 2015
Multi tasking, multi processing, and multi programming are different approaches to managing tasks in an operating system.
Multi tasking allows multiple tasks to run concurrently on a single processor.
Multi processing involves multiple processors running tasks simultaneously.
Multi programming allows multiple programs to be loaded into memory and executed concurrently.
Examples of multi tasking operating systems include Wi...
Memory allocation refers to the process of assigning memory to programs during runtime.
Stack allocation is done automatically and is limited in size.
Heap allocation is done manually and is larger in size.
Stack memory is used for local variables and function calls.
Heap memory is used for dynamic memory allocation.
Memory leaks can occur if heap memory is not properly managed.
Use a shared variable and synchronization mechanisms to ensure natural order printing of numbers.
Create two threads, one for printing even numbers and the other for printing odd numbers.
Use a shared variable to keep track of the current number to be printed.
Implement synchronization mechanisms like locks or semaphores to ensure only one thread can access the shared variable at a time.
Each thread should check if it is i...
Printing a matrix in spiral order
Start from the first element and print it
Move in a spiral order towards the center of the matrix
Repeat until all elements are printed
Thread class and Runnable Interface are used for multithreading in Java.
Thread class is a predefined class in Java that provides methods to create and control threads.
Runnable interface is used to define a task that can be executed by a thread.
Thread class implements Runnable interface.
Thread class provides more control over threads than Runnable interface.
Example: Thread t = new Thread(new MyRunnable()); t.start();
Exa...
Linked List is a dynamic data structure while ArrayList is a static data structure.
Linked List is best for frequent insertion and deletion operations.
ArrayList is best for frequent access operations.
Linked List uses more memory than ArrayList.
ArrayList is faster than Linked List for accessing elements.
Use Linked List when you need to frequently add or remove elements from the list.
Use ArrayList when you need to frequen
I am not interested in a career in investment banking.
I am more interested in a career in software development
I enjoy problem-solving and creating innovative solutions through coding
Investment banking does not align with my passion and skill set
I have chosen to apply to J.P. Morgan because of their reputation, global presence, and opportunities for growth.
J.P. Morgan has a strong reputation in the financial industry.
They have a global presence with offices in multiple countries.
The company offers various opportunities for career growth and development.
J.P. Morgan is known for its innovative technology solutions in the financial sector.
I am impressed by their ...
Yes, I have made a mistake in my previous project.
I underestimated the complexity of a task and ended up missing the deadline.
I failed to properly test a feature, resulting in a bug that affected user experience.
I accidentally deleted an important file without having a backup.
I misunderstood a requirement and implemented a feature incorrectly.
posted on 5 Jul 2021
posted on 18 Jun 2024
Passion for problem-solving and interest in technology led me to choose Computer Science Engineering.
Passion for problem-solving
Interest in technology
Opportunities for innovation and creativity
High demand and job prospects in the field
Taking CSE from a tier 3 college is a better option for a career in software development.
CSE from a tier 3 college will provide a strong foundation in computer science and programming skills.
Employers in the software industry often prioritize skills and experience over the college's tier.
Metallurgy may not be directly relevant to a career in software development.
Internships, projects, and self-learning can help bridge ...
posted on 23 Sep 2024
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
After 3 sections of aptitude, English and core subjects, there were two coding problems both based on string one was easy and other was medium.
Developed a web-based project management tool for tracking tasks and deadlines
Utilized HTML, CSS, JavaScript for front-end development
Used PHP and MySQL for back-end functionality
Implemented user authentication and authorization features
Integrated calendar and notification system for task reminders
The backend of my project is responsible for handling server-side logic and data processing.
Implemented RESTful APIs for communication between frontend and backend
Used Node.js and Express for server-side scripting
Utilized MongoDB for database management
Implemented authentication and authorization using JWT tokens
I implemented concepts of OOP in my projects by creating classes, objects, inheritance, encapsulation, and polymorphism.
Used classes to represent real-world entities
Implemented inheritance to reuse code and create a hierarchy of classes
Utilized encapsulation to hide data and restrict access to it
Applied polymorphism to allow objects of different classes to be treated as objects of a common superclass
Duplicate entries in the database can be handled by using unique constraints, deduplication scripts, or merging duplicate records.
Use unique constraints in the database schema to prevent duplicate entries.
Implement deduplication scripts to regularly scan and remove duplicate records.
Merge duplicate records by updating one record with the information from the other duplicate record.
Code to check if a string is a palindrome or not
Create a function that takes a string as input
Remove all non-alphanumeric characters and convert to lowercase
Compare the string with its reverse to check if it's a palindrome
I applied via Job Portal
Challenges in development include managing project timelines, debugging complex issues, and staying updated with new technologies.
Managing project timelines to ensure timely delivery of software
Debugging complex issues that arise during development
Staying updated with new technologies and tools to remain competitive in the industry
posted on 16 Dec 2021
I applied via Recruitment Consultant and was interviewed in Jun 2021. There were 4 interview rounds.
posted on 11 Mar 2022
I was interviewed in Aug 2021.
Round duration - 65 Minutes
Round difficulty - Medium
This was an online proctured coding test where we had 2 questions to solve under 65 minutes. Both the questions were of difficulty Medium to Hard.
Given an integer array, your objective is to change all elements to the same value, minimizing the cost. The cost of changing an element from x
to y
is defined ...
Find the minimum cost to make all elements of an array equal by changing them to a common value.
Calculate the median of the array and find the sum of absolute differences between each element and the median.
Sort the array and find the median element, then calculate the sum of absolute differences between each element and the median.
If the array has an even number of elements, consider the average of the two middle elem
Given a pattern as a string and a set of words, determine if the pattern and the words list align in the same sequence.
T (number of test cases)
For each test ca...
Given a pattern and a list of words, determine if the words align with the pattern.
Create a mapping between characters in the pattern and words in the list.
Check if the mapping preserves the order of characters in the pattern.
Return 'True' if the sequence of words matches the order of characters in the pattern, else return 'False'.
Round duration - 50 Minutes
Round difficulty - Medium
This round had 2 algorithmic questions in which I first had to explain my approach with proper complexity analysis and then code the solution in any preferred IDE.
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.
Find pairs of elements in an array that sum up to a given value, sorted in a specific order.
Iterate through the array and for each element, check if the complement (S - current element) exists in a hash set.
If the complement exists, add the pair to the result list.
Sort the result list based on the criteria mentioned in the question.
Return the sorted list of pairs.
Given a specified number of intervals, where each interval is represented by two integers denoting its boundaries, the task is to merge all overlapping interv...
Merge overlapping intervals and return sorted list of merged intervals.
Iterate through intervals and merge overlapping ones
Sort merged intervals based on starting times
Handle edge cases like empty input or single interval
Example: Input - [[1,4], [3,5], [6,8], [10,12], [8,9]], Output - [[1,5], [6,9], [10,12]]
Round duration - 60 Minutes
Round difficulty - Medium
This round had 1 standard coding question followed by some questions from OS and at last I was also asked some questions related to Statistics and Probability.
You are given a N x M
matrix of integers. Your task is to return the spiral path of the matrix elements.
The first line contains an integer 'T' which denotes the nu...
The task is to return the spiral path of elements in a given matrix.
Iterate through the matrix in a spiral path by adjusting the boundaries at each step.
Keep track of the direction of traversal (right, down, left, up) to cover all elements.
Handle edge cases such as when the matrix is a single row or column.
Implement the spiral path traversal algorithm efficiently to meet the time limit.
Ensure to print the elements in t
Use multiple threads to print numbers from 1 to 100 in an optimized approach.
Divide the range of numbers (1-100) among the threads to avoid overlap.
Use synchronization mechanisms like mutex or semaphore to ensure orderly printing.
Consider using a shared variable to keep track of the current number being printed.
Multitasking refers to the ability of an operating system to run multiple tasks concurrently, while multithreading involves executing multiple threads within a single process.
Multitasking allows multiple processes to run simultaneously on a single processor, switching between them quickly.
Multithreading enables a single process to execute multiple threads concurrently, sharing resources like memory and CPU time.
Multita...
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.
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.
posted on 11 Mar 2022
I was interviewed in Sep 2021.
Round duration - 65 Minutes
Round difficulty - Medium
This was an online proctured coding round where we had 2 questions to solve under 1 hour. Both the questions were preety standard and anyone with a decent grip on Data Structures and Algorithms can solve them.
Chintu has a long binary string str
. A binary string is a string that contains only 0 and 1. He considers a string to be 'beautiful' if and only if the number of 0's ...
Find the maximum number of beautiful substrings that a binary string can be split into.
Count the number of 0's and 1's in the string.
Iterate through the string and split it whenever the count of 0's and 1's becomes equal.
Return the maximum number of beautiful substrings that can be formed.
Given a binary matrix of size N * M
where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...
Find the shortest path in a binary matrix from a source cell to a destination cell consisting only of 1s.
Use Breadth First Search (BFS) algorithm to find the shortest path.
Keep track of visited cells to avoid revisiting them.
Update the path length as you traverse the matrix.
Return -1 if no valid path exists.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 coding questions , the first one was related to Sorting and the second one was related to Hashing. After the coding questions, I was asked some concepts related to OOPS in general.
Rahul is mastering arrays. He is tasked to find the length of the smallest contiguous subarray in a given array/list ARR
of size N
, such that its sum exceeds a...
Find the length of the smallest subarray in a given array whose sum exceeds a specified value.
Iterate through the array while keeping track of the sum of the current subarray.
Use two pointers to maintain a sliding window approach to find the smallest subarray.
Update the minimum length of the subarray whenever the sum exceeds the specified value.
Return the length of the smallest subarray found.
Handle cases where no suba...
Given an array ARR
and an integer K
, your task is to count all subarrays whose sum is divisible by the given integer K
.
The first line of input contains an...
Count subarrays with sum divisible by K in an array.
Iterate through the array and keep track of prefix sum modulo K.
Use a hashmap to store the frequency of prefix sum remainders.
For each prefix sum remainder, count the number of subarrays that sum up to a multiple of K.
Handle cases where the prefix sum itself is divisible by K.
Return the total count of subarrays with sum divisible by K.
Virtual destructors in C++ are used to ensure that the correct destructor is called when deleting an object through a base class pointer.
Virtual destructors are declared with the 'virtual' keyword in the base class to allow proper cleanup of derived class objects.
When deleting an object through a base class pointer, having a virtual destructor ensures that the destructor of the derived class is called.
Without a virtual...
Constructor is a special method used to initialize objects, while a method is a function that performs a specific task.
Constructor is called automatically when an object is created, while a method is called explicitly by the programmer.
Constructors have the same name as the class, while methods have unique names.
Constructors do not have a return type, while methods have a return type.
Constructors are used to set initia...
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 coding questions both related to Linked List followed by an interesting puzzle and then a question related to Probability.
You have been given a singly linked list of integers. Your task is to divide this list into two smaller singly linked lists wherein the nodes appear in an alt...
Divide a singly linked list into two smaller lists with nodes appearing in an alternating fashion.
Iterate through the original linked list and assign nodes alternatively to the two smaller lists.
Handle cases where creating either of the sub-lists is impossible by returning an empty list.
Ensure to properly terminate the linked lists with -1 at the end of each list.
Consider the constraints provided while implementing the...
You are provided with two singly linked lists containing integers, where both lists converge at some node belonging to a third linked list.
Your task is to determine t...
Find the node where two linked lists merge.
Traverse both lists to find their lengths and the difference in lengths
Move the pointer of the longer list by the difference in lengths
Move both pointers simultaneously until they meet at the merging point
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.
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.
based on 1 interview
Interview experience
Senior Associate
9
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Lead
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Team Leader
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Operations Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Prudential Financial
MetLife
AIG
Principal Global Services