Cognizant Logo

Cognizant Questions

Here are the LeetCode questions for Cognizant.

Total: 45
Easy: 30
Medium: 13
Hard: 2
Progress: 0%

Topic Frequency Analysis

All Topics

Rank Topic Frequency Percentage
1 Array 21
46.7%
2 Math 13
28.9%
3 String 10
22.2%
4 Two Pointers 8
17.8%
5 Hash Table 8
17.8%
6 Dynamic Programming 7
15.6%
7 Binary Search 5
11.1%
8 Database 5
11.1%
9 Sorting 3
6.7%
10 Divide and Conquer 2
4.4%
11 Bit Manipulation 2
4.4%
12 Recursion 2
4.4%
13 Simulation 2
4.4%
14 Memoization 2
4.4%
15 Sliding Window 2
4.4%
16 Prefix Sum 2
4.4%
17 Greedy 1
2.2%
18 Binary Tree 1
2.2%
19 Tree 1
2.2%
20 Binary Search Tree 1
2.2%
21 Linked List 1
2.2%
22 Stack 1
2.2%
No. Question Title Link Difficulty Solved
1 Sort Array By Absolute Value Visit Easy
2 Count Subarrays of Length Three With a Condition Visit Easy
3 Smallest Value of the Rearranged Number Visit Medium
4 Find the Highest Altitude Visit Easy
5 Replace Employee ID With The Unique Identifier Visit Easy
6 Restricted Restricted Hard
7 Restricted Restricted Hard
8 Restricted Restricted Hard
9 Restricted Restricted Hard
10 Restricted Restricted Hard
11 Restricted Restricted Hard
12 Restricted Restricted Hard
13 Restricted Restricted Hard
14 Restricted Restricted Hard
15 Restricted Restricted Hard

Log in to access all 45 questions for free!

Log In

Frequently Asked Questions

Common questions about Cognizant interviews