Cognizant vs J P Morgan Interview Questions
Cognizant lists 29 LeetCode interview questions while J P Morgan lists 79. They share 9 problems — 31% of Cognizant's bank and 11% of J P Morgan's. Focus on the overlap first, then drill into 20 Cognizant-only and 70 J P Morgan-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 9 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Cognizant and J P Morgan.
Step 2 — Company-specific depth: Add Cognizant-specific problems like Count Subarrays of Length Three With a Condition, Smallest Value of the Rearranged Number, Valid Anagram and J P Morgan-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: J P Morgan skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
9 Shared Questions
High-priority problems to practice for both Cognizant and J P Morgan.
| Problem | Difficulty |
|---|---|
| Palindrome Number | Easy |
| Two Sum | Easy |
| Fibonacci Number | Easy |
| Longest Palindromic Substring | Medium |
| Maximum Subarray | Medium |
| Valid Parentheses | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Happy Number | Easy |
| Fizz Buzz | Easy |
Unique to Cognizant (20)
Problems in Cognizant's list that do not appear at J P Morgan.
Unique to J P Morgan (70)
Problems in J P Morgan's list that do not appear at Cognizant.
Frequently Asked Questions
How many LeetCode questions do Cognizant and J P Morgan share?
Cognizant and J P Morgan share 9 LeetCode interview questions. 20 problems appear only in Cognizant's list and 70 appear only in J P Morgan's list.
What topics overlap most between Cognizant and J P Morgan?
The most common shared topics between Cognizant and J P Morgan are Math (4 shared questions), String (4 shared questions), Hash Table (3 shared questions), Dynamic Programming (3 shared questions), Array (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Cognizant or J P Morgan?
Cognizant has 18 Easy, 10 Medium, and 1 Hard questions. J P Morgan has 27 Easy, 47 Medium, and 5 Hard questions. J P Morgan has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Cognizant and J P Morgan?
Start with the 9 shared problems since they cover what both companies ask most often. Then add 20 Cognizant-specific and 20 J P Morgan-specific questions to round out your prep.