Cognizant Coding Interview Questions
We track 43 coding questions asked at Cognizant, tagged with the algorithms and concepts they test. The most common: Array, Math, String, Database, Hash Table.
Browse all 43 Cognizant questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array22.7%
- Database18.6%
- Math11.4%
- String7.9%
- Two Pointers7.8%
- Hash Table6.8%
- Dynamic Programming4.8%
- Sorting4.5%
- Binary Search3.1%
- Prefix Sum1.9%
- Other (9)10.8%
How many questions involve each concept
Share of all 43 tracked Cognizant questions that touch each concept. Questions usually involve several, so these overlap.
- Array46.5%
- Math23.3%
- String20.9%
- Database18.6%
- Hash Table18.6%
- Two Pointers18.6%
- Dynamic Programming14.0%
- Sorting11.6%
- Binary Search7.0%
- Divide and Conquer4.7%
- Linked List4.7%
- Memoization4.7%
Where Cognizant differs from the average company
Concept weight at Cognizant relative to the average across all companies we track. Green means Cognizant leans on it harder than most.
- Database6.9×
- Memoization4.7×
- Two Pointers2.2×
- Math2.0×
- String0.83×
- Dynamic Programming0.77×
- Linked List0.76×
Cognizant specialties
Concepts that show up at Cognizant but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 43 tracked Cognizant questions.
- Junior67% (29)
- Mid/Senior28% (12)
- Staff5% (2)
Every concept in Cognizant interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 20 | 46.5% | 22.7% |
| Math | 10 | 23.3% | 11.4% |
| String | 9 | 20.9% | 7.9% |
| Database | 8 | 18.6% | 18.6% |
| Hash Table | 8 | 18.6% | 6.8% |
| Two Pointers | 8 | 18.6% | 7.8% |
| Dynamic Programming | 6 | 14.0% | 4.8% |
| Sorting | 5 | 11.6% | 4.5% |
| Binary Search | 3 | 7.0% | 3.1% |
| Divide and Conquer | 2 | 4.7% | 1.6% |
| Linked List | 2 | 4.7% | 1.6% |
| Memoization | 2 | 4.7% | 1.4% |
| Prefix Sum | 2 | 4.7% | 1.9% |
| Recursion | 2 | 4.7% | 1.4% |
| Bit Manipulation | 1 | 2.3% | 1.2% |
| Greedy | 1 | 2.3% | 0.8% |
| Simulation | 1 | 2.3% | 0.8% |
| Sliding Window | 1 | 2.3% | 0.8% |
| Stack | 1 | 2.3% | 1.2% |
Practice a Cognizant interview
Take a realistic AI-led mock interview with questions Cognizant actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required