Capgemini LeetCode Questions
25 questions all-time · 13 easy · 10 medium · 2 hard
Track your progress. Sign in free to tick off problems and save what you've solved across every company.
| # | 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% |
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.