JPMC | JP Morgon | Cohort Hiring | SWE 3 | Rejected
Summary
Interview Experience: Applied through JPMorgan's job portal and went through OA, coding + code review round, HLD round, and behavioral round. Rejected after the interviews with no further communication from HR.
Outcome: Rejected
Full Experience
All happened in October.
Compensation : 40 LPA Fixed
I applied to on of the positions on their Job portal.
# OA
Q1: Minimum operations to make the 2nd half of the string an anagram of the first half. swapping 1 character with another is 1 operation.
Q2: Given queries as [L,R], flip the sign of all the elements of array from L to R. Return the array at the end.
After this got call for cohort hiring and all 3 round will happen back to back.
# Coding+Code review round
Code Review a piece of code: There were a few APIs and you need to review it - check variable names, exception handling, using enums, reusing common code, synchronization and locking etc
Coding : Problem (telephone circular dial)
You have a circular dial with digits 0,1,2,...,9 arranged in that order around the circle. The dial’s pointer starts at 0. You are given a string s of digits (for example "8053") that you must dial in order.
You may rotate the pointer clockwise or counterclockwise. Moving the pointer by one position (to an adjacent digit) costs 1.
Optionally, pressing a digit might cost 1 (if the problem counts presses). I'll show both variants: rotation cost only and rotation + press cost.
Return the minimum total cost to input the whole string.
# HLD Round
Asked to design a Rate Limiter
Got into an agrument in this, during requirement i had said I will implement the sliding window counter method (which will be an approximation) as I dont think the rate limiting needs to be completele accurate.
But during designing that, she started saying read the question again (which didnt mention anyting strict as requirement) I said the same no such thing is mentioned and I explained already my assumptions during requirement, Anyway I said if we want it to be strict we will need a sliding window log method which will use memory.
# Behavior Round
Several questions regarding my project and how i handled this and that etc.
# Verdict: Rejected (probably)
Never got an update after the interviews. and the HR never picked my call again. HR never shared his email and communication happened over jpmc system generated mails.
Interview Questions (4)
Given a string, determine the minimum number of operations required to make the second half of the string an anagram of the first half. One operation consists of swapping one character with another.
Given an array and a list of queries [L, R], flip the sign of all elements in the array from index L to R. Return the final array after processing all queries.
You have a circular dial with digits 0-9 arranged in a circle. Starting at 0, you need to dial a string of digits. Each rotation (clockwise or counterclockwise) costs 1, and pressing a digit may cost 1. Calculate the minimum total cost to dial the entire string.
Design a system to limit the number of requests a user can make within a certain time window. The candidate discussed implementing a sliding window counter method as an approximation, but the interviewer questioned the accuracy requirements.