JP Morgan Chase & Co. organized its first round for internship hiring on 20th Feb 2021 for Software Engineer Program, 2022. The test was conducted on HackerRank. It had 2 coding questions for 1 hour 15 minutes. The difficulty level of these questions was fairly easy with very easy constraints too (The first question could be solved in O(n) but the constraint on n was 1 to 100).
- Given an array of string containing names of tools (can be duplicates), the starting index and a target tool, find the minimum number of steps required to reach the target tool from the starting index. The array is circular, that is, if you reach the end of the array, go to its start and vice versa.
- Given a linked list having either 0 or 1 as its elements, find the decimal representation of the binary number formed by the nodes of the list.
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.