I applied online to the Software Engineer Program – Full-time Opportunity on the JP Morgan website. For the first round, I received an email to complete a video and technical interview on HireVue. I had two weeks to complete the interview.
Round 1: The HireVue consisted of two coding questions and two video interview questions. I was able to pick the language that I wanted.
Question 1: Given coins of value 1, 3, and 6 and a sum, what is the minimum number of coins needed to reach the sum? (https://www.geeksforgeeks.org/find-minimum-number-of-coins-that-make-a-change/)
Minimum coins needed: 4 (1 6-Value coin, 1 3-Value coin, 2 1-Value coins)
Question 2: Given an integer, add it with the reverse of the value, and check if it’s a palindrome. If it isn’t a palindrome, repeat the process until the sum is a palindrome. Print out the number of iterations and the value of the final palindrome. (https://www.geeksforgeeks.org/reverse-and-add-function/)
Starting Value: 121
Expected Result : 1 242
Add 121 to 121. The sum of 242 is a palindrome.
- Given more time, what would you have done differently for the coding questions? (This is for both of the coding questions!)
- Discuss a time in which you were a member of a successful team. What was your role and what were the challenges that you faced?
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.