Cognizant vs DE Shaw Interview Questions

Cognizant lists 29 LeetCode interview questions while DE Shaw lists 105. They share 5 problems — 17% of Cognizant's bank and 5% of DE Shaw's. Focus on the overlap first, then drill into 24 Cognizant-only and 100 DE Shaw-only questions.

Overview

Cognizant

29 questions

Easy 18Medium 10Hard 1
DE Shaw

105 questions

Easy 11Medium 64Hard 30

Preparation Strategy

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

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

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

Difficulty Comparison

Easy
Cognizant
18
DE Shaw
11
Medium
Cognizant
10
DE Shaw
64
Hard
Cognizant
1
DE Shaw
30

Top Shared Topics

5 Shared Questions

High-priority problems to practice for both Cognizant and DE Shaw.

ProblemDifficulty
Two SumEasy
Valid ParenthesesEasy
Median of Two Sorted ArraysHard
Longest Substring Without Repeating CharactersMedium
Merge Sorted ArrayEasy

Unique to Cognizant (24)

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

ProblemDifficulty
Palindrome NumberEasy
Count Subarrays of Length Three With a ConditionEasy
Smallest Value of the Rearranged NumberMedium
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

Unique to DE Shaw (100)

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

ProblemDifficulty
Binary Tree CamerasHard
Find Minimum Cost to Remove Array ElementsMedium
Maximum Number of Subsequences After One InsertingMedium
Minimum Size Subarray in Infinite ArrayMedium
Maximum Subsequence ScoreMedium
Maximum Points After Collecting Coins From All NodesHard
Minimum Number of Taps to Open to Water a GardenHard
Maximum Points Tourist Can EarnMedium
Max Number of K-Sum PairsMedium
Number of Subarrays With AND Value of KHard
Relative Sort ArrayEasy
Sum GameMedium

Frequently Asked Questions

How many LeetCode questions do Cognizant and DE Shaw share?

Cognizant and DE Shaw share 5 LeetCode interview questions. 24 problems appear only in Cognizant's list and 100 appear only in DE Shaw's list.

What topics overlap most between Cognizant and DE Shaw?

The most common shared topics between Cognizant and DE Shaw are Array (3 shared questions), Hash Table (2 shared questions), String (2 shared questions), Stack (1 shared questions), Binary Search (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Cognizant or DE Shaw?

Cognizant has 18 Easy, 10 Medium, and 1 Hard questions. DE Shaw has 11 Easy, 64 Medium, and 30 Hard questions. DE Shaw has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Cognizant and DE Shaw?

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

Explore More