Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Cognizant

Cognizant LeetCode Interview Questions

Practice 47 coding problems currently tagged to Cognizant. Use the frequency and topic signals to build a focused software engineering interview practice plan.

Last updated: September 28, 2026

30 Easy
15 Medium
2 Hard

Top Topics at Cognizant

ArrayTwo PointersDatabaseStringHash Table

Ace your Cognizant interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Cognizant Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Count Subarrays of Length Three With a Condition
100%
EasyE
100%
Array
Solve→
Two Sum
92.9%
EasyE
92.9%
ArrayHash Table
Solve→
Palindrome Number
92.9%
EasyE
92.9%
Math
Solve→
Longest Substring Without Repeating Characters
87.3%
MediumM
87.3%
Hash TableString+1
Solve→
Smallest Value of the Rearranged Number
79.9%
MediumM
79.9%
MathSorting
Solve→
Longest Palindromic Substring
79.9%
MediumM
79.9%
Two PointersString+2
Solve→
Sort Array By Absolute Value
79.9%
EasyE
79.9%
ArrayMath+2
Solve→
Fibonacci Number
76.8%
EasyE
76.8%
MathDynamic Programming+2
Solve→
Second Highest Salary
76.8%
MediumM
76.8%
Database
Solve→
Valid Anagram
73.2%
EasyE
73.2%
Hash TableString+1
Solve→
Merge Sorted Array
69%
EasyE
69%
ArrayTwo Pointers+1
Solve→
Move Zeroes
69%
EasyE
69%
ArrayTwo Pointers
Solve→
Valid Parentheses
69%
EasyE
69%
StringStack+1
Solve→
Best Time to Buy and Sell Stock
69%
EasyE
69%
ArrayDynamic Programming
Solve→
Median of Two Sorted Arrays
63.8%
HardH
63.8%
ArrayBinary Search+1
Solve→
Valid Palindrome
63.8%
EasyE
63.8%
Two PointersString
Solve→
Subarray Sum Equals K
63.8%
MediumM
63.8%
ArrayHash Table+1
Solve→
Reverse Integer
57.1%
MediumM
57.1%
Math
Solve→
Product Sales Analysis I
57.1%
EasyE
57.1%
Database
Solve→
Maximum Subarray
57.1%
MediumM
57.1%
ArrayDivide and Conquer+1
Solve→
Remove Duplicates from Sorted Array
57.1%
EasyE
57.1%
ArrayTwo Pointers
Solve→
First Missing Positive
57.1%
HardH
57.1%
ArrayHash Table
Solve→
Replace Employee ID With The Unique Identifier
57.1%
EasyE
57.1%
Database
Solve→
Article Views I
57.1%
EasyE
57.1%
Database
Solve→
Combine Two Tables
57.1%
EasyE
57.1%
Database
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Climbing Stairs
57.1%
EasyE
57.1%
MathDynamic Programming+1
Solve→
Max Consecutive Ones
57.1%
EasyE
57.1%
Array
Solve→
Majority Element
57.1%
EasyE
57.1%
ArrayHash Table+4
Solve→
Rotate Array
47.8%
MediumM
47.8%
ArrayMath+1
Solve→
Rising Temperature
47.8%
EasyE
47.8%
Database
Solve→
Binary Search
47.8%
EasyE
47.8%
ArrayBinary Search
Solve→
Roman to Integer
47.8%
EasyE
47.8%
Hash TableMath+1
Solve→
Jump Game
47.8%
MediumM
47.8%
ArrayDynamic Programming+1
Solve→
Employees Earning More Than Their Managers
47.8%
EasyE
47.8%
Database
Solve→
Find the Highest Altitude
47.8%
EasyE
47.8%
ArrayPrefix Sum
Solve→
String Compression
47.8%
MediumM
47.8%
Two PointersString
Solve→
Single Number
47.8%
EasyE
47.8%
ArrayBit Manipulation
Solve→
Minimum Absolute Difference
47.8%
EasyE
47.8%
ArraySorting
Solve→
Linked List Cycle
47.8%
EasyE
47.8%
Hash TableLinked List+2
Solve→
Next Permutation
47.8%
MediumM
47.8%
ArrayTwo Pointers
Solve→
Find Total Time Spent by Each Employee
47.8%
EasyE
47.8%
Database
Solve→
Nth Highest Salary
47.8%
MediumM
47.8%
Database
Solve→
Third Maximum Number
47.8%
EasyE
47.8%
ArraySorting
Solve→
Sort Vowels in a String
47.8%
MediumM
47.8%
StringSorting
Solve→
Find the Index of the First Occurrence in a String
47.8%
EasyE
47.8%
Two PointersString+4
Solve→
Rank Scores
47.8%
MediumM
47.8%
Database
Solve→
Rotting Oranges
47.8%
MediumM
47.8%
ArrayBreadth-First Search+1
Solve→

Similar Companies

Explore company practice sets with a similar number of tagged coding questions.

Adevinta
47 problems
Ai Foundation
47 problems
Apptronik
47 problems
Basis Technologies
47 problems
Bear Robotics
47 problems
Bungie
47 problems

Frequently Asked Questions

What LeetCode problems are tagged to Cognizant?

Our current Cognizant practice dataset contains 47 tagged coding problems, including Count Subarrays of Length Three With a Condition, Two Sum, Palindrome Number. The difficulty breakdown is 30 Easy, 15 Medium, and 2 Hard problems.

How should I prepare for a Cognizant coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Cognizant interviews typically emphasize Array and Two Pointers. Practice explaining your thought process while coding.

What is the difficulty level of Cognizant coding interviews?

Based on our data, Cognizant interviews include 30 Easy (64%), 15 Medium (32%), and 2 Hard (4%) problems.

Ready to ace your Cognizant interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • About
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Developers
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Refund & Cancellation
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.