JPMorgan Chase & Co.
70+ Numa Soft Interview Questions and Answers
Chintu has a long binary string ‘str’. A binary string is a string that contains only 0 and 1. He considers a string ‘beautiful’ if and only if the number of 0's and 1's in the string are equ...read more
Given 'N' number of intervals, where each interval contains two integers denoting the boundaries of the interval. The task is to merge all the overlapping intervals and return the lis...read more
Given a binary tree. Print the Left View of the Tree.
Example :
If the input tree is as depicted in the picture:
The Left View of the tree will be: 2 35 2
Input format :
Elements in t...read more
Q4. Design twitter app
Design a user-friendly Twitter app with customizable timelines and easy navigation.
Include a clean and intuitive user interface
Allow users to customize their timelines by following/unfollowing accounts
Implement easy navigation through tabs for Home, Notifications, Messages, etc.
Include features like trending topics, search functionality, and direct messaging
Q5. There are 8 bottles of milk out of which one bottle is poisoned. What will be the minimum number of persons required to find the poisoned bottle if the person dies within 24 hours of drinking the poison. You ha...
read moreMinimum number of persons required to find the poisoned milk bottle out of 8 bottles within 24 hours.
Divide the bottles into groups of 3 and label them A, B, C.
Give each person a different combination of groups to taste.
If someone dies, the poisoned bottle is in that group.
If no one dies, the poisoned bottle is in group D.
Repeat the process with the bottles in the identified group.
Q6. What is the difference between multi tasking, multi processing and multi programming operating systems with examples ?
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 Windows, macOS, and Linux.
Examples of multi processing opera...read more
Q7. You have two threads one printing even numbers in order and other odd numbers. Design an algorithm so that it prints numbers in natural order?
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 its turn to print the number based on the parity of the cur...read more
You are given an array/list ‘ARR’ of ‘N’ positive integers and an integer ‘K’. Your task is to check if there exists a subset in ‘ARR’ with a sum equal to ‘K’.
Note: Return true if there ex...read more
You are given an array of N elements. This array represents the digits of a number. In an operation, you can swap the value at any two indices. Your task is to f...read more
You are given an integer ‘N’. You need to find an array of size 2*N that satisfies the following two conditions.
1. All numbers from 1 to N should appear exactly twice in the array.
2. The dista...read more
Q11. If I buy a piece of equipment, walk me through the impact on the 3 financial statements
Buying equipment affects all 3 financial statements
On the income statement, the purchase will be recorded as an expense, reducing net income
On the balance sheet, the equipment will be recorded as an asset, increasing total assets
On the cash flow statement, the purchase will be recorded as a cash outflow from investing activities
You are given a positive integer N. Your task is to find the number of possible rectangles, excluding squares, in a N x N chessboard.
Example:
Let’s assume that we have a chessboard of di...read more
You and your friend Ninjax are playing a game of coins. Ninjax place the 'N' number of coins in a straight line.
The rule of the game is as follows:
1. Each coin has a value associate...read more
You are given a sentence 'TEXT'. Each word of 'TEXT' is separated by a single space and the first letter of 'TEXT' is capital. You need to rearrange the words of Text in increasing ...read more
You have been given a 9x9 2d integer matrix 'MAT' representing a Sudoku puzzle. The empty cells of the Sudoku are filled with zeros, and the rest of the cells are filled with integers from 1 to 9. ...read more
Q16. Tell me about memory allocation (stack vs. heap)?
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.
You have been given a 9 X 9 2D matrix 'MATRIX' with some cells filled with digits(1 - 9), and some empty cells (denoted by 0).
You need to find whether there exists a way to fill all the empty cells wit...read more
You are given an ‘M*N’ Matrix, You need to print all possible paths from its top left corner to the bottom right corner if giv...read more
You are given a chocolate bar in the form of a grid consisting of N x M pieces of chocolate. Your task is to take out exactly ‘K’ pieces of chocolate by cutting the chocolate bar either horizontall...read more
You are given an integer N. Your task is to return a 2-D ArrayList containing the pascal’s triangle till the row N.
A Pascal's triangle is a triangular array constructed by summing adjacent ele...read more
You have been given an array/list ARR consisting of ‘N’ elements. Each element in the array is either 0, 1 or 2.
Now, your task is to sort this array/list in increasing order. For ...read more
probability of car accident in one hour is 1/4. What is the probability of accident in half hour?
There is 10 Black socks in drawer, 10 white socks. What is the minimum number of socks we need to pick out such that we get a pair?
You will be given a stream of numbers, and you need to find the kth largest number in the stream at any given time.
As the stream of numbers can not be given during compile time, so you need t...read more
Implement a Stack Data Structure specifically to store integer data using two Queues.
There should be two data members, both being Queues to store the data internally. You may use the inbuilt Q...read more
There are ‘N’ horses running in ‘N’ different lanes numbered from 1 to ‘N’. You are given an array “FINISHTIME” containing ‘N’ integers where “FINISHTIME[i]” represents the time taken by the ith ho...read more
You are given two sorted linked lists. You have to merge them to produce a combined sorted linked list. You need to return the head of the final linked list.
Note:
The given linked ...read more
You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number...read more
You are given a string (STR) of length N.
Your task is to find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the...read more
You have been given a Binary Tree of integers, find the minimum depth of this Binary Tree. The minimum depth of a Binary Tree is the number of nodes along the shortest path from the ...read more
The city of Ninjaland is analogous to the unweighted graph. The city has ‘N’ houses numbered from 1 to ‘N’ respectively and are connected by M bidirectional roads. If a road ...read more
Given a binary tree and the value of two nodes, find the distance between the given two nodes of the Binary Tree.
Distance between two nodes is defined as the minimum number ...read more
Given an array of integers ‘ARR’ and an integer ‘X’, you are supposed to find the number of subarrays of 'ARR' which have bitwise XOR of the elements equal to 'X'.
Note:
An array ‘...read more
Given a string 'S', you are supposed to return the number of distinct substrings(including empty substring) of the given string. You should implement the program using a trie.
Note :
A ...read more
You are given a positive integer N and an equation 1/X + 1/Y = 1/N
You need to determine the count of all possible positive integral solutions (X, Y) for the above equation.
Note:
1. X and Y shoul...read more
You are given a paragraph that may have letters both in lowercase and uppercase, spaces, and punctuation. You have also given a list of banned words. Now your task is to find the most frequent...read more
Q37. Explain how the balance sheet works for banking sector
The balance sheet for banking sector shows the assets, liabilities and equity of the bank at a specific point in time.
Assets include cash, loans, investments, and property
Liabilities include deposits, loans from other banks, and bonds
Equity includes the bank's capital and reserves
The balance sheet must balance, with assets equaling liabilities plus equity
The balance sheet is used to analyze the financial health of the bank
You have been given a complete binary tree of ‘N’ nodes. The nodes are numbered 1 to ‘N’.
You need to find the ‘next’ node that is immediately right in the level order...read more
You have been given a singly Linked List of 'N' nodes with integer data and an integer 'K'. Your task is to remove the Kth node from the end of the given Linked List.
For example:
The gi...read more
You are given N number of intervals, where each interval contains two integers denoting the start time and the end time for the interval.
The task is to merge all the overlapping intervals and re...read more
You are given a list of a repeated set of integers. Your task for the problem is to return a list of the given elements in decreasing sorted order of their frequency of repetition in t...read more
Q42. Print a matrix in spiral order?
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
Q43. With O(1) time complexity, find out if the given number is missing, from the given numbers between 1 to 100 where more than 2 numbers are missing.
To find a missing number from 1 to 100 with O(1) time complexity.
Use the formula n(n+1)/2 to find the sum of numbers from 1 to 100.
Subtract the sum of given numbers from the sum of all numbers to find the missing number.
Use a hash table to keep track of the given numbers and check for missing numbers in O(1) time.
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At no point you can find out the actual speed of the horse...read more
Five questions on OOPS were asked :-
1. What is Smart Pointer?
2. Some basic questions involving bit manipulation.
3. What is Virtual function?
4. What is Abstract Class?
5. Other standard simple questions of OO...read more
There are 2 ants sitting on diagonally opposite vertices of the same face of a cube. They can move in any direction and reach another vertex in one unit of time. They'll move indefinitely until they ...read more
If there is a frog which can go one step forward with probability 3/4. and one step backward with 1/4. What is expectancy to reach 7 steps forward.
Q48. What is hashmap? Where it is used? What is the time complexity to implement it?
HashMap is a data structure that stores key-value pairs and provides constant time complexity for basic operations.
HashMap is used to store and retrieve data based on unique keys.
It is commonly used in programming languages to implement associative arrays or dictionaries.
The time complexity to implement a HashMap is O(1) for basic operations like insertion, deletion, and retrieval.
Throw a dice, your score will the number that appears on the topmost face of the dice. Find the expected score. Then the question was extended to two throws, either you can keep the numbe...read more
Q50. Difference between a bond and a debenture
A bond is a type of debt security issued by companies or governments, while a debenture is a type of bond that is not secured by collateral.
Bonds are secured by collateral, while debentures are not.
Bonds have a fixed interest rate, while debentures may have a floating interest rate.
Bonds are typically issued by companies or governments to raise capital, while debentures are often issued by corporations.
Examples of bonds include Treasury bonds and corporate bonds, while exampl...read more
Q51. Explain the Eurozone debt crisis
The Eurozone debt crisis was a financial crisis that occurred in the European Union from 2009 to 2012.
The crisis was caused by a combination of factors, including high government debt, low economic growth, and a lack of competitiveness.
Some countries, such as Greece, had borrowed heavily and were unable to repay their debts, leading to fears of default.
The crisis led to bailouts of several countries by the European Union and the International Monetary Fund.
Austerity measures ...read more
Q52. What is a deferred tax asset ?
A deferred tax asset is an accounting concept that represents a future tax benefit for a company.
It arises when a company has overpaid taxes or has carried forward tax losses from previous years.
It can be used to offset future tax liabilities and reduce the company's tax bill.
Examples include tax credits, unused tax deductions, and net operating losses.
Deferred tax assets are recorded on the balance sheet as an asset.
They are subject to regular review and may need to be writt...read more
Given two hourglass of 4 minutes and 7 minutes, the task is to measure 9 minutes.
Find the number which when divided by 8, leaves remainder 7, when divided by 7, leaves remainder 6, when divided by 5, leaves remainder 4........ when divided by 2, leaves remainder 1.
Q55. what differentiates jp morgan to other banks in the financial industry
JP Morgan is known for its global presence, diverse range of services, and innovative technology.
JP Morgan has a strong global presence with operations in over 100 countries.
They offer a diverse range of financial services including investment banking, asset management, and commercial banking.
JP Morgan is known for its innovative technology, such as their blockchain platform Quorum.
They have a strong reputation for risk management and compliance.
JP Morgan has a focus on susta...read more
Q56. What is working capital
Working capital is the difference between current assets and current liabilities of a company.
It is the amount of money a company has available for its day-to-day operations.
It is calculated by subtracting current liabilities from current assets.
Positive working capital means the company has enough funds to cover its short-term obligations.
Negative working capital means the company may struggle to meet its short-term obligations.
Examples of current assets include cash, invent...read more
Q57. Brexit vote and how it would effect the indian economy?
The Brexit vote could have both positive and negative effects on the Indian economy.
Positive effects: Increased trade opportunities with the UK, potential for attracting foreign investments from companies relocating from the UK.
Negative effects: Uncertainty in global markets leading to volatility in exchange rates, potential decline in exports to the UK.
Example: Indian IT companies may face challenges due to stricter immigration policies in the UK.
Example: Indian textile expo...read more
Q58. What type of metrics do you use to measure success?
Metrics for measuring success as a Scrum Master
Velocity of the team
Sprint burndown charts
Team satisfaction surveys
Number of completed user stories
Percentage of defects found in production
Cycle time for user stories
Lead time for user stories
Q59. Draw and explain about different phases of SDLC(Software Development Life Cycle)
SDLC consists of several phases including planning, analysis, design, implementation, testing, deployment, and maintenance.
Planning: Defining project goals, scope, and requirements.
Analysis: Gathering and analyzing user requirements.
Design: Creating a detailed blueprint of the software solution.
Implementation: Writing code and developing the software.
Testing: Conducting various tests to ensure software quality.
Deployment: Releasing the software for users.
Maintenance: Providin...read more
Discussion on Machine Learning Projects followed by a thorough discussion on Regression and other models. Discussion on deciding the model for any dataset and related factors.
Willing to relocate?
How many hours you can work?
Q62. What is margin call and how does same day settlement works ?
Margin call is a demand by a broker for an investor to deposit more money or securities into their account to cover potential losses.
Margin call occurs when the value of securities in an investor's account falls below a certain level, triggering the need for additional funds.
Investors must either deposit more funds or sell securities to meet the margin call.
Same day settlement refers to the process of completing a financial transaction on the same day it is initiated.
In same ...read more
Q63. Explain Solid principles
SOLID principles are a set of five design principles that help in creating maintainable and scalable software applications.
S - Single Responsibility Principle (SRP)
O - Open-Closed Principle (OCP)
L - Liskov Substitution Principle (LSP)
I - Interface Segregation Principle (ISP)
D - Dependency Inversion Principle (DIP)
Q64. What is collateral and how will you manage if collateral dispute arise
Collateral is an asset or property that a borrower offers to a lender as security for a loan.
Collateral can include real estate, vehicles, equipment, or financial assets.
In case of a collateral dispute, it is important to review the loan agreement and documentation to determine the rights and responsibilities of both parties.
Communication with all parties involved is key to resolving the dispute amicably.
If necessary, legal action may be taken to enforce the terms of the loan...read more
Q65. Who regulates the economy in USA and India ?
In the USA, the economy is regulated by various government agencies such as the Federal Reserve and the Securities and Exchange Commission. In India, the Reserve Bank of India plays a key role in regulating the economy.
In the USA, the Federal Reserve is responsible for monetary policy and regulating the banking system.
The Securities and Exchange Commission (SEC) oversees the securities industry and protects investors.
In India, the Reserve Bank of India (RBI) is the central ba...read more
Q66. How futures and options differ ?
Futures are agreements to buy or sell assets at a specified price on a future date, while options give the holder the right but not the obligation to buy or sell assets at a specified price within a certain time frame.
Futures involve an obligation to buy or sell the underlying asset at a predetermined price and date, while options provide the holder with the right but not the obligation to buy or sell the asset.
Options have a premium cost that the buyer pays to the seller, wh...read more
Q67. Explain Derivatives and its types with examples
Derivatives are financial instruments whose value is derived from an underlying asset or group of assets.
Derivatives can be classified into four main types: futures, forwards, options, and swaps.
Futures contracts are agreements to buy or sell an asset at a specific price on a future date.
Forwards are similar to futures but are customized contracts between two parties.
Options give the holder the right, but not the obligation, to buy or sell an asset at a predetermined price wi...read more
Q68. Tools you use for designing UI UX
I use a variety of tools for designing UI/UX, including Sketch, Adobe XD, Figma, and InVision.
Sketch: A popular design tool with a wide range of features and plugins.
Adobe XD: A powerful tool for creating interactive prototypes and wireframes.
Figma: A collaborative design tool that allows real-time collaboration and prototyping.
InVision: A platform for creating interactive and animated prototypes.
Q69. Who regulates Stock markets in US
Securities and Exchange Commission (SEC) regulates stock markets in the US.
Securities and Exchange Commission (SEC) is the primary regulatory body overseeing the stock markets in the US.
SEC enforces regulations to protect investors, maintain fair, orderly, and efficient markets, and facilitate capital formation.
Other regulatory bodies such as FINRA (Financial Industry Regulatory Authority) also play a role in overseeing certain aspects of the stock markets.
SEC monitors and re...read more
Q70. draw graph of x+(1/x)
Graph of x+(1/x) is a hyperbola with two branches.
The graph consists of two branches, one in the first quadrant and one in the third quadrant.
As x approaches positive or negative infinity, the graph approaches the x-axis.
The graph has a vertical asymptote at x=0.
The minimum value of the function is 2 when x=1 or x=-1.
Q71. Accrual and Difference between US gaap and IFRS
Accrual and difference between US GAAP and IFRS
Accrual accounting recognizes revenue and expenses when they are incurred, regardless of when cash is received or paid
US GAAP and IFRS differ in their treatment of certain accounting principles, such as revenue recognition, inventory valuation, and lease accounting
Under US GAAP, revenue recognition is generally more prescriptive, while IFRS allows more judgment and flexibility
For example, US GAAP requires specific criteria to be ...read more
Q72. What do you understand about the process
Q73. What is Wholesale lending
Wholesale lending is the practice of providing loans to businesses rather than individuals.
Wholesale lending is focused on providing loans to businesses, rather than individuals.
It is typically used for larger loan amounts and longer terms.
Wholesale lenders often work with intermediaries such as mortgage brokers or loan officers.
Examples of wholesale lending include commercial real estate loans and business lines of credit.
Q74. Binary search problem
Binary search is a divide and conquer algorithm that efficiently searches for a target value within a sorted array.
Binary search compares the target value to the middle element of the array and eliminates half of the remaining elements each time.
The array must be sorted in ascending or descending order for binary search to work correctly.
Binary search has a time complexity of O(log n), making it very efficient for large datasets.
More about working at JPMorgan Chase & Co.
Top HR Questions asked in Numa Soft
Interview Process at Numa Soft
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month