Cognizant vs Uber Interview Questions

Cognizant lists 29 LeetCode interview questions while Uber lists 362. They share 15 problems — 52% of Cognizant's bank and 4% of Uber's. Focus on the overlap first, then drill into 14 Cognizant-only and 347 Uber-only questions.

Overview

Cognizant

29 questions

Easy 18Medium 10Hard 1
Uber

362 questions

Easy 45Medium 215Hard 102

Preparation Strategy

Step 1 — Shared core: Solve the 15 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Cognizant and Uber.

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 Uber-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Uber skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Cognizant
18
Uber
45
Medium
Cognizant
10
Uber
215
Hard
Cognizant
1
Uber
102

Top Shared Topics

15 Shared Questions

High-priority problems to practice for both Cognizant and Uber.

ProblemDifficulty
Two SumEasy
Longest Palindromic SubstringMedium
Valid AnagramEasy
Remove Duplicates from Sorted ArrayEasy
Longest Common PrefixEasy
Maximum SubarrayMedium
Reverse IntegerMedium
Valid ParenthesesEasy
Median of Two Sorted ArraysHard
Longest Substring Without Repeating CharactersMedium
Count PrimesMedium
Happy NumberEasy
Move ZeroesEasy
Add Two NumbersMedium
Fizz BuzzEasy

Unique to Cognizant (14)

Problems in Cognizant's list that do not appear at Uber.

ProblemDifficulty
Palindrome NumberEasy
Count Subarrays of Length Three With a ConditionEasy
Smallest Value of the Rearranged NumberMedium
Fibonacci NumberEasy
Second Highest SalaryMedium
Managers with at Least 5 Direct ReportsMedium
Product Sales Analysis IEasy
Merge Sorted ArrayEasy
3SumMedium
Binary SearchEasy
Merge Two Sorted ListsEasy
Rising TemperatureEasy

Unique to Uber (347)

Problems in Uber's list that do not appear at Cognizant.

ProblemDifficulty
Bus RoutesHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Alien DictionaryHard
Number of IslandsMedium
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Word SearchMedium
Insert Delete GetRandom O(1)Medium

Frequently Asked Questions

How many LeetCode questions do Cognizant and Uber share?

Cognizant and Uber share 15 LeetCode interview questions. 14 problems appear only in Cognizant's list and 347 appear only in Uber's list.

What topics overlap most between Cognizant and Uber?

The most common shared topics between Cognizant and Uber are Array (6 shared questions), String (6 shared questions), Math (5 shared questions), Hash Table (4 shared questions), Two Pointers (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Cognizant or Uber?

Cognizant has 18 Easy, 10 Medium, and 1 Hard questions. Uber has 45 Easy, 215 Medium, and 102 Hard questions. Uber has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Cognizant and Uber?

Start with the 15 shared problems since they cover what both companies ask most often. Then add 14 Cognizant-specific and 20 Uber-specific questions to round out your prep.

Explore More