grindmapcompany-wise LeetCode
All companies

Cognizant LeetCode Questions

29 questions all-time · 18 easy · 10 medium · 1 hard
# Problem Difficulty Frequency Acceptance
1Palindrome Number
Easy
100
59.2%
2Count Subarrays of Length Three With a Condition
Easy
96
61.9%
3Smallest Value of the Rearranged Number
Medium
96
52.7%
4Two Sum
Easy
83
55.8%
5Fibonacci Number
Easy
79
72.9%
6Longest Palindromic Substring
Medium
73
35.8%
7Valid Anagram
Easy
73
66.7%
8Remove Duplicates from Sorted Array
Easy
67
60.4%
9Maximum Subarray
Medium
67
52.1%
10Product Sales Analysis I
Easy
67
84.6%
11Reverse Integer
Medium
67
30.3%
12Second Highest Salary
Medium
67
43.9%
13Managers with at Least 5 Direct Reports
Medium
67
48.9%
14Valid Parentheses
Easy
67
42.3%
15Longest Common Prefix
Easy
67
45.5%
16Longest Substring Without Repeating Characters
Medium
57
36.9%
17Fizz Buzz
Easy
57
74.4%
18Rising Temperature
Easy
57
50.2%
19Median of Two Sorted Arrays
Hard
57
43.8%
20Add Two Numbers
Medium
57
46.2%
21Merge Sorted Array
Easy
57
52.9%
22Count Primes
Medium
57
34.8%
23Students and Examinations
Easy
57
60.5%
243Sum
Medium
57
37.1%
25Move Zeroes
Easy
57
62.8%
26Binary Search
Easy
57
59.6%
27Happy Number
Easy
57
58.1%
28Merge Two Sorted Lists
Easy
57
66.8%
29Search Insert Position
Easy
57
49.0%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies