Capgemini LeetCode Interview Questions
Capgemini has asked 25 distinct LeetCode questions across all recorded interviews: 13 easy, 10 medium and 2 hard. The questions reported most often are Two Sum, Number of Unique Subjects Taught by Each Teacher and Reverse Degree of a String. 1 of them was reported in interviews from the Last 30 Days window. Every question links straight to LeetCode, and the list can be filtered by difficulty and topic or sorted by how often the question comes up.
| # | Problem | Difficulty | Frequency | Acceptance | |
|---|---|---|---|---|---|
| 1 | Two Sum | Easy | 100 | 55.8% | |
| 2 | Number of Unique Subjects Taught by Each Teacher | Easy | 96 | 89.4% | |
| 3 | Reverse Degree of a String | Easy | 96 | 87.1% | |
| 4 | Remove Duplicates from Sorted Array | Easy | 84 | 60.4% | |
| 5 | Count Elements With Maximum Frequency | Easy | 79 | 77.9% | |
| 6 | Best Time to Buy and Sell Stock | Easy | 74 | 55.3% | |
| 7 | Add Two Numbers | Medium | 67 | 46.2% | |
| 8 | Longest Common Prefix | Easy | 67 | 45.5% | |
| 9 | Palindrome Number | Easy | 67 | 59.2% | |
| 10 | Rotate Array | Medium | 58 | 43.0% | |
| 11 | Find First and Last Position of Element in Sorted Array | Medium | 58 | 46.8% | |
| 12 | Subarray Sum Equals K | Medium | 58 | 45.5% | |
| 13 | Balanced Binary Tree | Easy | 58 | 55.3% | |
| 14 | Longest Substring Without Repeating Characters | Medium | 58 | 36.9% | |
| 15 | Trapping Rain Water | Hard | 58 | 65.1% | |
| 16 | Move Zeroes | Easy | 58 | 62.8% | |
| 17 | Valid Anagram | Easy | 58 | 66.7% | |
| 18 | Fibonacci Number | Easy | 58 | 72.9% | |
| 19 | Exchange Seats | Medium | 58 | 72.7% | |
| 20 | Median of Two Sorted Arrays | Hard | 58 | 43.8% | |
| 21 | Longest Happy String | Medium | 58 | 65.5% | |
| 22 | Valid Palindrome | Easy | 58 | 51.0% | |
| 23 | Reverse Words in a String | Medium | 58 | 51.9% | |
| 24 | Nth Highest Salary | Medium | 58 | 38.0% | |
| 25 | Coin Change | Medium | 58 | 46.5% |
Where this data comes from
These questions come from the public leetcode-company-wise-problems data set, which collects interview reports from candidates. They are community-reported rather than published by Capgemini, so treat the list as a strong signal of what gets asked, not an official or exhaustive syllabus. Last refreshed .
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. It is a relative popularity signal within Capgemini's questions, not a probability that you will be asked it. Acceptance is LeetCode's own share of submissions that pass for that problem, across all users, not something specific to Capgemini. Click any question to open it on LeetCode.