i
JPMorgan Chase & Co.
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
DSA
OOPS
C++
DBMS
OS
CN
BASIC MATHS
PROBABILITY
CALCULUS
2 medium dsa que - one is of binary search, one is from graph
OOPs principles are the fundamental concepts of object-oriented programming that help in designing and implementing software solutions.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability of different classes to be treated as instances of a common superclass.
Abstraction: ...
OS concepts refer to fundamental principles and components of operating systems.
Process management - handling processes, scheduling, and resource allocation
Memory management - managing memory allocation, virtual memory, and paging
File system - organizing and accessing files on storage devices
Device management - controlling and communicating with hardware devices
Security and protection - ensuring system and data securit...
4 coding question 1 easy ,2 medium and 1 hard
I applied via campus placement at Birla Institute of Technology (BIT), Ranchi and was interviewed before Sep 2021. There were 3 interview rounds.
2 coding question, 1 section of business aptitude and 1 section english.
A classic chess game with standard rules and pieces.
Create a board with 8x8 squares
Place 16 pieces on each side: 1 king, 1 queen, 2 rooks, 2 knights, 2 bishops, and 8 pawns
Define the movement rules for each piece
Implement special moves like castling and en passant
Check for checkmate and stalemate conditions
Allow for player vs player or player vs computer gameplay
The N Queens problem is to place N chess queens on an NxN board so that no two queens threaten each other. Minimum steps by knight is a variation of this problem.
The N Queens problem is a classic problem in computer science and can be solved using backtracking.
The minimum steps by knight variation involves placing N knights on an NxN board so that no two knights threaten each other.
This problem can also be solved using...
posted on 11 Jan 2025
Medium leetcode question on array list
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
List comprehension is a concise way to create lists in Python by applying an expression to each item in an iterable.
List comprehension is written inside square brackets []
It consists of an expression followed by a for clause, then zero or more if clauses
Example: squares = [x**2 for x in range(10)]
Apache Spark is a distributed computing system that provides an interface for programming entire clusters with implicit data parallelism and fault tolerance.
Apache Spark follows a master-slave architecture with a driver program that communicates with a cluster manager to distribute work across worker nodes.
It uses Resilient Distributed Datasets (RDDs) as the basic data structure, which are immutable distributed collect...
Write code for palindtomr
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
1 coding question based on DP for 25 minutes and 30 MCQs on Java , OOPS and code snippet questions also some basic questions based on trees like number of leaf nodes in a complete binary tree with n nodes.
Code to find palindrome of a string
Iterate through the string from both ends and compare characters
Use two pointers, one starting from the beginning and one from the end
If characters at both pointers match, continue checking until they meet in the middle
If all characters match, the string is a palindrome
Dynamic memory allocation in Java refers to the process of allocating memory for objects at runtime.
Dynamic memory allocation allows for objects to be created and destroyed during program execution.
The 'new' keyword is used to dynamically allocate memory for objects in Java.
Dynamic memory allocation helps in managing memory efficiently by allocating memory only when needed.
Example: int[] arr = new int[5]; dynamically a
I would choose a relational database like MySQL and implement a custom authentication system using session management.
Choose a relational database like MySQL for storing user data, product information, and orders.
Implement a custom authentication system using session management to securely authenticate users without JWT or third-party services.
Use encryption techniques to store and validate user passwords securely.
Util...
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Arrow functions are more concise and have a lexical 'this' binding compared to normal functions.
Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.
Arrow functions do not have their own 'arguments' object.
Arrow functions cannot be used as constructors with 'new'.
Arrow functions are more concise and have implicit return when no curly braces are used.
forEach is used to iterate over an array and perform a function on each element, while map creates a new array by applying a function to each element.
forEach does not return a new array, while map does
forEach does not modify the original array, while map creates a new array
forEach is used for side effects, while map is used for transformation
Example: forEach - array.forEach(item => console.log(item)), map - const newAr
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Write code to return the maximum profit by buying and selling stocks using available money
based on 1 review
Rating in categories
Associate
10.1k
salaries
| ₹10 L/yr - ₹42 L/yr |
Team Lead
5.4k
salaries
| ₹5.6 L/yr - ₹16.5 L/yr |
Vice President
3.9k
salaries
| ₹20 L/yr - ₹68.2 L/yr |
Analyst
2.5k
salaries
| ₹6.3 L/yr - ₹25 L/yr |
Software Engineer
2.4k
salaries
| ₹11 L/yr - ₹35 L/yr |
Morgan Stanley
Goldman Sachs
TCS
Bank of America