Cognizant vs JPMorgan Interview Questions
Cognizant lists 29 LeetCode interview questions while JPMorgan lists 78. They share 7 problems — 24% of Cognizant's bank and 9% of JPMorgan's. Focus on the overlap first, then drill into 22 Cognizant-only and 71 JPMorgan-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 7 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Cognizant and JPMorgan.
Step 2 — Company-specific depth: Add Cognizant-specific problems like Palindrome Number, Count Subarrays of Length Three With a Condition, Smallest Value of the Rearranged Number and JPMorgan-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: JPMorgan skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
7 Shared Questions
High-priority problems to practice for both Cognizant and JPMorgan.
| Problem | Difficulty |
|---|---|
| Two Sum | 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 (22)
Problems in Cognizant's list that do not appear at JPMorgan.
Unique to JPMorgan (71)
Problems in JPMorgan's list that do not appear at Cognizant.
Frequently Asked Questions
How many LeetCode questions do Cognizant and JPMorgan share?
Cognizant and JPMorgan share 7 LeetCode interview questions. 22 problems appear only in Cognizant's list and 71 appear only in JPMorgan's list.
What topics overlap most between Cognizant and JPMorgan?
The most common shared topics between Cognizant and JPMorgan are String (4 shared questions), Hash Table (3 shared questions), Array (2 shared questions), Two Pointers (2 shared questions), Dynamic Programming (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Cognizant or JPMorgan?
Cognizant has 18 Easy, 10 Medium, and 1 Hard questions. JPMorgan has 25 Easy, 45 Medium, and 8 Hard questions. JPMorgan has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Cognizant and JPMorgan?
Start with the 7 shared problems since they cover what both companies ask most often. Then add 20 Cognizant-specific and 20 JPMorgan-specific questions to round out your prep.