Cognizant Interview Prep (GenC / GenC Next / GenC Elevate)
Cognizant hires freshers into several named tracks — GenC, GenC Pro, GenC Next and GenC Elevate across recent cycles — and the names change often enough that candidates comparing notes across years end up comparing different processes. What stays constant is the shape: a communication assessment and an aptitude assessment do the initial filtering, a technical or coding assessment sits on top of them for the higher tracks, and the interview length scales with the track. Base GenC reports describe a short round on OOP, DBMS, SQL and the final-year project. GenC Next and GenC Elevate reports describe a much longer round with live coding and harder fundamentals.
Two things are worth planning around. The aptitude and communication rounds eliminate more candidates than any coding question does, and the communication assessment is a scored round of its own rather than an impression formed during an interview. And SQL carries unusual weight in the interviews — reported questions lean on joins, keys, normalisation, aggregates and subqueries often enough that a candidate who cannot write a query by hand is visibly exposed. Candidates who came through Cognizant’s pre-hiring upskilling programmes sometimes enter at a different stage, which is another reason reported loops vary.
Interview Process
| Stage | Duration | Focus |
|---|---|---|
| Communication Assessment | ~30-45 min | Written and spoken English, scored separately |
| Aptitude Assessment | ~60-90 min | Quantitative, logical reasoning, verbal ability |
| Technical / Coding Assessment | ~60-90 min | Programming MCQs plus 1-2 coding problems on higher tracks |
| Technical Interview | 30-70 min | OOP, DBMS, SQL, project; live coding on the higher tracks |
| HR Interview | 15-30 min | Relocation, shifts, service agreement, communication |
Apply to one track, not several. Reported notifications have warned that duplicate applications across GenC and the higher tracks are rejected outright, so read the eligibility rules before registering. The interview length is the clearest signal of which track you are being considered for: a 30-minute round covering OOP, DBMS and your project is a base GenC shape, while an hour-plus round with live coding and SQL writing is a GenC Next or Elevate shape. Reported total assessment time has ranged from a little over two hours to around three, and the track names and structures have been renamed between cycles more than once, so treat any year-specific breakdown you find as dated.
What Cognizant Actually Tests
Derived from 47 reported Cognizant-tagged problems. Difficulty mix:
| Difficulty | Count | Share |
|---|---|---|
| Easy | 30 | 64% |
| Medium | 15 | 32% |
| Hard | 2 | 4% |
The list skews Easy and Medium. Speed and clean code matter more here than exotic algorithms.
Where those problems fall by pattern:
| Rank | Pattern | Problems | Share of list |
|---|---|---|---|
| 1 | Arrays & Hashing | 22 | 47% |
| 2 | Sliding Window & Two Pointers | 10 | 21% |
| 3 | Dynamic Programming | 5 | 11% |
| 4 | Strings | 3 | 6% |
| 5 | Tries & String Search | 2 | 4% |
| 6 | Binary Search | 2 | 4% |
| 7 | Stack & Monotonic Stack | 1 | 2% |
| 8 | Intervals, Greedy & Sorting | 1 | 2% |
| 9 | Math & Bit Manipulation | 1 | 2% |
Cognizant Signature Problems
These rank high on Cognizant’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.
| # | Problem | Pattern | Difficulty | Also asked at | Link |
|---|---|---|---|---|---|
| 1 | Count Subarrays of Length Three With a Condition | Array | Easy | 5 of 142 | LeetCode → |
| 2 | Longest Substring Without Repeating Characters | Sliding Window | Medium | 75 of 142 | Solve → |
| 3 | Smallest Value of the Rearranged Number | Math + Sorting | Medium | 2 of 142 | LeetCode → |
| 4 | Longest Palindromic Substring | Manacher + Two Pointers | Medium | 56 of 142 | Solve → |
| 5 | Sort Vowels in a String | Sorting + String | Medium | 4 of 142 | LeetCode → |
If you are short on time, these carry more Cognizant-specific signal per hour than the universal top-100 lists.
Reported in the Last Six Months
The recency-filtered slice of Cognizant’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Longest Substring Without Repeating Characters | Sliding Window | Medium | Solve → |
| 2 | Move Zeroes | Two Pointers | Easy | Solve → |
| 3 | Find the Index of the First Occurrence in a String | Boyer–Moore String-Search Algorithm + KMP | Easy | Solve → |
| 4 | Find Total Time Spent by Each Employee | Database | Easy | LeetCode → |
| 5 | Palindrome Number | Math | Easy | Solve → |
| 6 | Rank Scores | Database | Medium | LeetCode → |
| 7 | Rotting Oranges | BFS | Medium | Solve → |
| 8 | Two Sum | Hash Table + Array | Easy | Solve → |
| 9 | Valid Palindrome | Two Pointers | Easy | Solve → |
System Design (HLD) Problems Asked at Cognizant
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Payment System | Advanced | Read → |
| 2 | Rules Engine (Claims and Eligibility Rules) | Intermediate | Read → |
| 3 | Notification System | Intermediate | Read → |
| 4 | E-commerce Platform | Advanced | Read → |
| 5 | Distributed Job Scheduler | Advanced | Read → |
| 6 | Metrics and Monitoring System | Intermediate | Read → |
| 7 | URL Shortener | Beginner | Read → |
LLD / Machine Coding Problems Asked at Cognizant
No fresher track at Cognizant runs a design round. Both lists are here for lateral and experienced hiring. The partial exception is GenC Next and GenC Elevate, where reports occasionally mention system design basics or a class-modelling question inside the technical round — the LLD pages below are the right preparation for that, and the HLD list is not.
| # | Problem | Difficulty | Link |
|---|---|---|---|
| 1 | Library Management | Beginner | Read → |
| 2 | Parking Lot | Beginner | Read → |
| 3 | Order Management System | Intermediate | Read → |
| 4 | Inventory Management | Intermediate | Read → |
| 5 | Splitwise (Expense Splitting) | Intermediate | Read → |
DSA Problems Asked at Cognizant
36 problems across 6 pattern groups. Each group is allocated in proportion to its real share of Cognizant’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.
Arrays & Hashing
Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. Showing the top 14 of 22 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 1 | Count Subarrays of Length Three With a Condition | Array | Easy | LeetCode → |
| 2 | Palindrome Number | Math | Easy | Solve → |
| 3 | Two Sum | Hash Table + Array | Easy | Solve → |
| 4 | Smallest Value of the Rearranged Number | Math + Sorting | Medium | LeetCode → |
| 5 | Second Highest Salary | Database | Medium | Solve → |
| 6 | Subarray Sum Equals K | Prefix Sum | Medium | Solve → |
| 7 | Article Views I | Database | Easy | LeetCode → |
| 8 | Combine Two Tables | Database | Easy | LeetCode → |
| 9 | First Missing Positive | Hash Table + Array | Hard | Solve → |
| 10 | Max Consecutive Ones | Array | Easy | Solve → |
| 11 | Product Sales Analysis I | Database | Easy | LeetCode → |
| 12 | Replace Employee ID With The Unique Identifier | Database | Easy | LeetCode → |
| 13 | Reverse Integer | Math | Medium | Solve → |
| 14 | Employees Earning More Than Their Managers | Database | Easy | LeetCode → |
Sliding Window & Two Pointers
Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 10 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 15 | Longest Substring Without Repeating Characters | Sliding Window | Medium | Solve → |
| 16 | Sort Array By Absolute Value | Two Pointers | Easy | LeetCode → |
| 17 | Merge Sorted Array | Two Pointers | Easy | Solve → |
| 18 | Move Zeroes | Two Pointers | Easy | Solve → |
| 19 | Valid Palindrome | Two Pointers | Easy | Solve → |
| 20 | Remove Duplicates from Sorted Array | Two Pointers | Easy | Solve → |
| 21 | Linked List Cycle | Floyd Cycle + Linked List | Easy | Solve → |
| 22 | Next Permutation | Two Pointers | Medium | Solve → |
| 23 | Rotate Array | Two Pointers | Medium | Solve → |
| 24 | String Compression | Two Pointers | Medium | Solve → |
Dynamic Programming
State definition is the whole battle. Say the recurrence out loud before you write the table. All 5 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 25 | Fibonacci Number | Memoization + DP | Easy | Solve → |
| 26 | Best Time to Buy and Sell Stock | DP | Easy | Solve → |
| 27 | Climbing Stairs | Memoization + DP | Easy | Solve → |
| 28 | Maximum Subarray | Divide and Conquer + DP | Medium | Solve → |
| 29 | Jump Game | Greedy + DP | Medium | Solve → |
Strings
Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 3 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 30 | Valid Anagram | Sorting + Hash Table | Easy | Solve → |
| 31 | Roman to Integer | Math + Hash Table | Easy | Solve → |
| 32 | Sort Vowels in a String | Sorting + String | Medium | LeetCode → |
Tries & String Search
Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 33 | Longest Palindromic Substring | Manacher + Two Pointers | Medium | Solve → |
| 34 | Find the Index of the First Occurrence in a String | Boyer–Moore String-Search Algorithm + KMP | Easy | Solve → |
Binary Search
Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 2 on the list.
| # | Problem | Pattern | Difficulty | Link |
|---|---|---|---|---|
| 35 | Median of Two Sorted Arrays | Divide and Conquer + Binary Search | Hard | Solve → |
| 36 | Binary Search | Binary Search | Easy | Solve → |
Cognizant’s Favourite Patterns (Ranked)
| Rank | Pattern | Frequency | Problems on list | Start with |
|---|---|---|---|---|
| 1 | Arrays & Hashing | Very High | 22 (47%) | Count Subarrays of Length Three With a Condition, Palindrome Number, Two Sum |
| 2 | Sliding Window & Two Pointers | High | 10 (21%) | Longest Substring Without Repeating Characters, Sort Array By Absolute Value, Merge Sorted Array |
| 3 | Dynamic Programming | High | 5 (11%) | Fibonacci Number, Best Time to Buy and Sell Stock, Climbing Stairs |
| 4 | Strings | Medium-High | 3 (6%) | Valid Anagram, Roman to Integer, Sort Vowels in a String |
| 5 | Tries & String Search | Medium-High | 2 (4%) | Longest Palindromic Substring, Find the Index of the First Occurrence in a String |
| 6 | Binary Search | Medium-High | 2 (4%) | Median of Two Sorted Arrays, Binary Search |
How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Arrays & Hashing, Sliding Window & Two Pointers, Dynamic Programming covers the bulk of what Cognizant actually asks. The rest is insurance for the one round that goes somewhere unexpected.
The GenC Tracks, Side by Side
Track names and structures have changed between hiring cycles, so treat this as the current reported shape rather than a fixed scheme. The pattern underneath it has been stable: the higher the track, the more the coding bar matters and the longer the interview runs.
| Track | How you get in | Assessment emphasis | Interview shape | What to prepare |
|---|---|---|---|---|
| GenC | The base drive, open to the widest eligibility | Communication plus aptitude, with light programming | Short round on OOP, DBMS, SQL and your project | Aptitude, communication, fundamentals you can recall fast |
| GenC Pro | A harder sitting of the same process | Aptitude plus a tougher technical and programming section | Similar to GenC, pushed somewhat deeper | Everything above plus one language in real depth |
| GenC Next | A separate, harder assessment with a coding section | Coding problems carry real weight | Long round with live coding and deeper fundamentals | Medium DSA, SQL writing, narrating code while writing it |
| GenC Elevate | The highest reported fresher bar | Hardest coding assessment of the set | Longest round, including coding and occasionally design basics | Medium DSA, class modelling, project depth |
Packages differ substantially between these tracks and are revised every year, so numbers you find online date quickly. The planning point stands regardless: the base track is won on aptitude and communication, and the elite tracks are won on coding.
The Fundamentals Checklist, With SQL First
Reported Cognizant interviews are recall-heavy and SQL-heavy, which makes this a checklist you can genuinely finish rather than a skill you have to build.
| Area | Be able to answer | Common follow-up |
|---|---|---|
| SQL querying | Second highest salary, count per group with a condition, join two tables and filter | Rewrite it without a subquery, or say what an index changes |
| DBMS design | Primary versus foreign key, normalisation up to third normal form, why denormalise | Normalise this small table, out loud |
| Transactions | What ACID means in practice, what isolation levels protect against | What a dirty read and a deadlock look like in a real application |
| OOP | The four principles with examples from your own code | Where you used an interface rather than inheritance, and why |
| Operating systems | Process versus thread, deadlock conditions, paging, scheduling basics | What a context switch costs, and what causes thrashing |
| Networks | OSI layers, TCP versus UDP, what DNS does, HTTP basics | What happens between typing a URL and the page loading |
| One language | Memory management, collections you use, exception handling | Why you chose it, and what you dislike about it |
| Coding (higher tracks) | Arrays, strings, hashing, two pointers, recursion, basic dynamic programming | Complexity of what you just wrote, and one edge case you missed |
Work top to bottom. The SQL rows are the ones that most often decide a Cognizant technical round, and they are also the fastest to close out.
HR and Managerial Round Questions
| # | Question |
|---|---|
| 1 | Are you willing to relocate to any Cognizant location in India? |
| 2 | Are you comfortable with rotational or night shifts on a client project? |
| 3 | Walk me through your final-year project and your specific contribution. |
| 4 | Tell me about a time you had to pick up a technology with no training. |
| 5 | How do you prioritise when two people give you urgent work at the same time? |
| 6 | Tell me about a disagreement in a team project and what you did about it. |
| 7 | What do you know about the service agreement, and are you comfortable with it? |
| 8 | Why Cognizant, and which track did you apply for and why? |
| 9 | Where do you want to be technically in two years? |
Expect the HR round to probe consistency rather than character: your track choice, your relocation answer, your stated technology preference and your CV all get cross-checked. Keep them aligned. Communication is scored formally earlier in the process, so by this stage the question is deployability — whether you can be put on a client project without friction.
11-Day Prep Plan
Built from the pattern ranking above, so the heaviest topics get the most time.
| Day | Focus | Problems |
|---|---|---|
| 1 | Arrays & Hashing (part 1) | Count Subarrays of Length Three With a Condition, Palindrome Number, Two Sum |
| 2 | Arrays & Hashing (part 2) | Smallest Value of the Rearranged Number, Second Highest Salary, Subarray Sum Equals K |
| 3 | Sliding Window & Two Pointers (part 1) | Longest Substring Without Repeating Characters, Sort Array By Absolute Value, Merge Sorted Array |
| 4 | Sliding Window & Two Pointers (part 2) | Move Zeroes, Valid Palindrome, Remove Duplicates from Sorted Array |
| 5 | Dynamic Programming | Fibonacci Number, Best Time to Buy and Sell Stock, Climbing Stairs |
| 6 | Strings | Valid Anagram, Roman to Integer, Sort Vowels in a String |
| 7 | Tries & String Search | Longest Palindromic Substring, Find the Index of the First Occurrence in a String |
| 8 | Binary Search | Median of Two Sorted Arrays, Binary Search |
| 9 | Mock round | Two problems in 45 minutes, timed, no hints. Simulate the real round. |
| 10 | Revision | Redo the problems you failed or needed a hint on. |
| 11 | Light review + rest | Re-read your pattern notes. Sleep early. |
Tips for Cognizant Interviews
- Work out which track you are preparing for first. Base GenC preparation is aptitude, communication and fundamentals. GenC Next and Elevate preparation is all of that plus medium DSA and live coding. Preparing for the wrong one wastes most of your hours.
- Write SQL by hand until it is automatic. Joins, group by with having, subqueries, keys, normalisation forms and the nth-highest-salary pattern come up repeatedly in reported interviews across tracks. This is the highest-yield hour on the list.
- Treat the communication assessment as a scored round. It covers written and spoken English separately in reported formats. Write a few short paragraphs to a timer, and read aloud daily for a week before the drive.
- Prioritise aptitude over coding for the base track. The quantitative, logical and verbal sections reject more candidates than the programming section does. Practice against a clock, not for accuracy alone.
- For GenC Next and Elevate, expect to code live. Reports describe writing and explaining code in the interview, not just answering questions about it. Practice narrating your approach while typing, because silent coding reads badly in a round this long.
- Revise fundamentals as four named lists. OOP principles with your own examples, DBMS including transactions and indexing, operating systems with process versus thread and deadlock, and networks with TCP versus UDP and DNS. These are direct recall questions and cheap marks.
- Read the eligibility rules before registering. Reported notifications have rejected candidates for applying to more than one track, which is an avoidable way to lose a drive.
Other Company Prep
- Accenture Interview Prep →
- Infosys Interview Prep →
- TCS Interview Prep →
- IBM Interview Prep →
- All Company Guides →
- Back to Interview Guide →
Track names, assessment sections, timings and round structures here reflect commonly reported candidate experience rather than published documentation. Cognizant has renamed and restructured its fresher tracks across recent hiring cycles — GenC, GenC Pro, GenC Next and GenC Elevate have not all run in every year — and compensation for each changes annually and is not quoted on this page. Confirm the current track list, eligibility rules and assessment pattern in the official notification for your own drive.