Cognizant vs Google Interview Questions

Cognizant lists 29 LeetCode interview questions while Google lists 2,305. They share 28 problems — 97% of Cognizant's bank and 1% of Google's. Focus on the overlap first, then drill into 1 Cognizant-only and 2,277 Google-only questions.

Overview

Cognizant

29 questions

Easy 18Medium 10Hard 1
Google

2,305 questions

Easy 601Medium 1205Hard 499

Preparation Strategy

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

Step 2 — Company-specific depth: Add Cognizant-specific problems like Smallest Value of the Rearranged Number and Google-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Cognizant
18
Google
601
Medium
Cognizant
10
Google
1205
Hard
Cognizant
1
Google
499

Top Shared Topics

28 Shared Questions

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

ProblemDifficulty
Palindrome NumberEasy
Count Subarrays of Length Three With a ConditionEasy
Two SumEasy
Fibonacci NumberEasy
Longest Palindromic SubstringMedium
Valid AnagramEasy
Second Highest SalaryMedium
Remove Duplicates from Sorted ArrayEasy
Longest Common PrefixEasy
Managers with at Least 5 Direct ReportsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Product Sales Analysis IEasy
Valid ParenthesesEasy
Median of Two Sorted ArraysHard
Longest Substring Without Repeating CharactersMedium
Merge Sorted ArrayEasy
Count PrimesMedium
3SumMedium
Happy NumberEasy
Move ZeroesEasy
Binary SearchEasy
Merge Two Sorted ListsEasy
Add Two NumbersMedium
Fizz BuzzEasy
Rising TemperatureEasy
Students and ExaminationsEasy
Search Insert PositionEasy

Unique to Cognizant (1)

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

ProblemDifficulty
Smallest Value of the Rearranged NumberMedium

Unique to Google (2,277)

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

ProblemDifficulty
Trapping Rain WaterHard
Best Time to Buy and Sell StockEasy
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Recyclable and Low Fat ProductsEasy
Majority ElementEasy
Roman to IntegerEasy
Merge IntervalsMedium
Number of IslandsMedium
Subarray Sum Equals KMedium

Frequently Asked Questions

How many LeetCode questions do Cognizant and Google share?

Cognizant and Google share 28 LeetCode interview questions. 1 problems appear only in Cognizant's list and 2277 appear only in Google's list.

What topics overlap most between Cognizant and Google?

The most common shared topics between Cognizant and Google are Array (11 shared questions), Math (7 shared questions), Two Pointers (6 shared questions), String (6 shared questions), Database (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Cognizant or Google?

Cognizant has 18 Easy, 10 Medium, and 1 Hard questions. Google has 601 Easy, 1205 Medium, and 499 Hard questions. Google has a higher proportion of Hard problems in its interview set.

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

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

Explore More