Filter interviews by
Top trending discussions
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 7 Jun 2021
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
posted on 16 Dec 2021
I applied via Recruitment Consultant and was interviewed in Jun 2021. There were 4 interview rounds.
posted on 8 Mar 2024
I applied via LinkedIn and was interviewed before Mar 2023. There were 2 interview rounds.
posted on 8 Aug 2024
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
Object-oriented programming concepts that focus on data encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details ...
I appeared for an interview in Dec 2020.
You are provided with a sorted dictionary (by lexical order) in an alien language. Your task is to determine the character order of the alien language from this dictiona...
Determine the character order of an alien language from a sorted dictionary of words.
Graph Representation: Treat each character as a node and establish directed edges based on the order derived from adjacent words.
Topological Sorting: Use topological sorting to determine the order of characters, ensuring that for every directed edge from character A to B, A comes before B.
Example: For words ['caa', 'aaa', 'aab'], the o...
Compute the skyline of given rectangular buildings in a 2D city, eliminating hidden lines and forming the outer contour of the silhouette when viewed from a distance. Each building is ...
The Skyline Problem involves computing the outer contour of buildings in a 2D cityscape based on their coordinates and heights.
Input Format: Each building is represented as [LEFT_i, RIGHT_i, HEIGHT_i], indicating its position and height.
Output Format: The skyline is represented as a list of key points, e.g., [[x1, y1], [x2, y2], ...], marking the silhouette.
Example: For buildings [[2, 9, 10], [3, 7, 15]], the output is...
Given a string of length N
, reverse the string word by word. Ensure that the output reversed string has a single space between two words and does not contain le...
Reverse the words in a string while ensuring single spaces and no leading or trailing spaces.
Input Handling: Read multiple test cases, each containing a string to be reversed word by word.
Trimming Spaces: Use string manipulation to remove leading and trailing spaces before processing.
Splitting Words: Split the string into words based on spaces, ensuring to handle multiple spaces correctly.
Reversing Words: Reverse the o...
Assist Ninja in altering the color of a specific region in his photo. Given the image as a 2D array where each pixel is a positive integer, update the color of a specified pixel ...
The Flood Fill Algorithm updates the color of a pixel and its adjacent same-colored pixels in a 2D image array.
Input Parameters: The function takes the image dimensions (M, N), the image matrix, starting coordinates (X, Y), and the new color (C).
Color Change: The algorithm changes the color of the pixel at (X, Y) and all adjacent pixels with the same original color to the new color C.
Depth-First Search (DFS) or Breadth...
Silent environment
Evening
One on one interview
Interviewer was friendly by nature
Tip 1 : Be well versed with all the coding projects on your resume.
Tip 2 : Practice questions on the above mentioned topics from popular coding websites, like geegsforgeeks, interviewbit, etc, whichever suits you.
Tip 3 : Be familiar with the job profile you are applying for, go through the requirements of that profile and focus more on the skills it requires.
Tip 4 : Some courses like data structures and algorithms, if done, would be given more preference by interviewer over other candidates.
Tip 1 : Mention high points during your life till now relevant to job profile.
Tip 2 : Mention internships, job experience, academics projects, coding projects precisely relevant to job profile.
Tip 3 : Review you resume by as many people as you can.
Tip 4 : Follow a proper syntax while preparing your resume.
I applied via Campus Placement and was interviewed in Mar 2022. There were 4 interview rounds.
First round was an API challenge in which we need to submit our names Reg No. and other details by using an API provided by the company .
Then the second round was coding round in which there were 19 coding multiple choice questions and 2 coding questions based on the profile we applied for . It was 1 hour and 15 mins long test
posted on 9 Jan 2022
I applied via Naukri.com and was interviewed in Jul 2021. There was 1 interview round.
Assistant Manager
59
salaries
| ₹6 L/yr - ₹14.4 L/yr |
Deputy Manager
41
salaries
| ₹8.6 L/yr - ₹15.5 L/yr |
Officer
22
salaries
| ₹3 L/yr - ₹5 L/yr |
Manager
10
salaries
| ₹13 L/yr - ₹27 L/yr |
Assistant Manager Information Technology
9
salaries
| ₹5 L/yr - ₹7.2 L/yr |
Bajaj Finserv
JPMorgan Chase & Co.
Motilal Oswal Financial Services
ICICI Securities