JP Morgan Chase Interview Experience (Python Developer)
Round 1 (Technical Round): I started with the introduction. Few questions asked on the skills that were mentioned in the introduction.
- As I had mentioned the celery in my resume, Interviewer asked about the use cases, their implementation, and the broker used while implementing celery.
- Difference between List and Set in python along with examples.
- Difference between generators and iterators along with examples.
- Coding Question: Given an infinite long sorted array consisting of 0s and 1s. Find the index of the 1st occurrence of 1.
- Discussion about past projects, AWS Services being used in those projects, and the use case of each of the services (primarily AWS Lambda, EC2, S3, ECS, RDS, RS, Cloudwatch).
- Some discussion about project management and team management.
Round 2 (Technical Round): Again, I started with an introduction and discussion on all previous projects. The interviewer asked me to explain the use case and implementation of the most complex problem that I had solved while working on past projects. I explained some scenarios of such instances along with use cases and implementation. There were some counter questions and discussions. The interviewer was not completely convinced.
1. Given a sorted array and number N, write a program to find the pairs of numbers whose sum is equal to N.
I explained two approaches. He was convinced. He gave a couple of hints while I was stuck in implementing those approaches.
2. Difference between List and Tuples along with examples.
Various python basics questions on decorators. Question on the immutability of tuples like suppose a tuple x = ([1,2,3], “str”, 5) is given. Can we modify the element of list on index 0 of this tuple.?
I explained Yes along with the whole workaround with the concept of reference memory in python.
He asked me the concept of List slicing and list comprehension along with an example.
3. Write a code that prints the following pattern using list comprehension.
Pattern = [1, 1, 1, 2, 4, 8, 3, 9, 27, 4, 16, 64]
I wrote the logic but made a terrible mistake. I reversed the order of loops while implementing the nested list comprehension. The interviewer tried to give hint on the order of loops, but I couldn’t catch it.
Correct one is
He asked about my overall working experience, the reason for the switch. Also, asked me if I have any questions for him before the wrap-up of this interview. I asked about his journey and roles at JPMC.