Capgemini Coding Interview Questions: 26 Tagged Problems
26 coding problems tagged Capgemini — 26 easy — with solutions in 13 languages. Plus a 3-week study plan by topic.
- Problems: 26
- By difficulty: 26 easy
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
26 problems the CodeKairo catalogue tags as commonly asked in Capgemini's coding rounds — 26 easy, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (15), Math (9) and Strings (8). CodeKairo's Capgemini — Technical & English mock covers the Capgemini Technical and English paper, which is gated section by section: each part has to be cleared on its own. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Capgemini, which CodeKairo is not affiliated with.
Capgemini study plan by topic
All 26 problems tagged Capgemini over 3 weeks, about 8 h 40 min of solving, grouped by technique in the order they build on each other — Arrays, Strings, Math and Two Pointers and 8 more. It ends with the Capgemini — Technical & English mock.
Week 1: Arrays, Strings, Math
11 problems on Arrays, Strings and Math, easiest first within each topic.
- Number of Employees Who Met the Target Easy
- Maximum Ascending Subarray Sum Easy
- Maximum Difference Between Adjacent Elements in a Circular Array Easy
- Defanging an IP Address Easy
- Maximum Number of Words Found in Sentences Easy
- Find Words Containing Character Easy
- Armstrong Number Easy
- Automorphic Number Easy
- Disarium Number Easy
- Find Numbers with Even Number of Digits Easy
- Count the Digits That Divide a Number Easy
Week 2: Two Pointers, Prefix Sum, Binary Search +4
12 problems on Two Pointers, Prefix Sum, Binary Search, Matrix, Simulation, Enumeration and Greedy, easiest first within each topic.
- Union of Two Sorted Arrays Easy
- Reverse String II Easy
- Shortest Distance to Target String in a Circular Array Easy
- Equilibrium Point Easy
- Find the Pivot Integer Easy
- Find Transition Point Easy
- Modify the Matrix Easy
- Divide a String Into Groups of Size k Easy
- Separate the Digits in an Array Easy
- Form Smallest Number From Two Digit Arrays Easy
- Maximum Sum With Exactly K Elements Easy
- Minimum Changes to Make Alternating Binary String Easy
Week 3: Bit Manipulation, Number Theory
3 problems on Bit Manipulation and Number Theory, easiest first within each topic.
Finally: the timed test
Sit the Capgemini — Technical & English mock under the clock — the coding problems are only one part of the round.
Capgemini test patterns
- Capgemini — Technical & English pattern guide and timed mock
All problems tagged Capgemini
Easy (26)
- Form Smallest Number From Two Digit Arrays Array, Hash Table, Enumeration
- Find Words Containing Character Array, String
- Modify the Matrix Array, Matrix
- Separate the Digits in an Array Array, Simulation
- Shortest Distance to Target String in a Circular Array Array, String, Two Pointers
- Smallest Number With All Set Bits Bit Manipulation, Math
- Sum of Squares of Special Elements Array, Math, Number Theory
- Find the Pivot Integer Math, Prefix Sum
- Divide a String Into Groups of Size k String, Simulation
- Maximum Number of Words Found in Sentences String, Array
- Minimum Changes to Make Alternating Binary String String, Greedy
- Reverse String II String, Two Pointers
- Maximum Difference Between Adjacent Elements in a Circular Array Array
- Find Transition Point Array, Binary Search
- Maximum Sum With Exactly K Elements Array, Greedy
- Maximum Ascending Subarray Sum Array
- Count the Digits That Divide a Number Math
- Number of Employees Who Met the Target Array
- Union of Two Sorted Arrays Array, Two Pointers
- Equilibrium Point Array, Prefix Sum
- Defanging an IP Address String
- Find Numbers with Even Number of Digits Array, Math
- Disarium Number Math
- Automorphic Number Math, String
- Armstrong Number Math
- Add Digits Math, Simulation, Number Theory
Topics Capgemini asks most
- Arrays 15 problems
- Math 9 problems
- Strings 8 problems
- Two Pointers 3 problems
- Simulation 3 problems
- Prefix Sum 2 problems
- Greedy 2 problems
- Number Theory 2 problems
- Hash Table 1 problem
- Binary Search 1 problem
- Matrix 1 problem
- Enumeration 1 problem