J.P. Morgan Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
4Questions
1Company
4 Questions 1 Company
Showing 4 results
J.P. Morgan
Medium
Software EngineerCompute max-ons and deletion indices
Question Given a circular array of n computers represented by 0 (off) and 1 (on), determine the maximum possible number of on computers within any con...
Coding & Algorithms
11
0
Aug 4, 2025
J.P. Morgan
Medium
Software EngineerCompute longest palindromic subsequence
Given a string s (1 ≤ |s| ≤ 2000), implement a function that returns the length of the longest subsequence of s that reads the same forward and backwa...
Coding & Algorithms
0
0
Aug 1, 2025
J.P. Morgan
Medium
Software EngineerCompute ring window max and deletion indices
Part A — Ring window maximum: You are given n computers arranged in a circle, represented by an array of bits (1 = on, 0 = off), and an integer k (1 <...
Coding & Algorithms
0
0
Jul 31, 2025
J.P. Morgan
Medium
Software EngineerGroup anagrams and count string in grid
Part 1 — Group Anagrams: Given an array of strings, group together strings that are anagrams of one another and output both the grouped lists and the ...
Coding & Algorithms
0
0
Jul 16, 2025