0% found this document useful (0 votes)
391 views2 pages

Capgemini Coding Questions List

The document lists a series of coding questions commonly asked in Capgemini interviews. The questions cover various programming concepts such as string manipulation, number theory, and array operations. Each question is designed to test fundamental coding skills and problem-solving abilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
391 views2 pages

Capgemini Coding Questions List

The document lists a series of coding questions commonly asked in Capgemini interviews. The questions cover various programming concepts such as string manipulation, number theory, and array operations. Each question is designed to test fundamental coding skills and problem-solving abilities.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Capgemini Coding Questions List

1. Count the number of vowels in a string

2. Reverse words in a sentence

3. Check if a number is a palindrome

4. Print a pyramid/star pattern

5. Find the second largest element in an array

6. Sum of digits of a number

7. Check if a string is a pangram

8. Generate Fibonacci series up to N terms

9. Check if a number is Armstrong

10. Find GCD (HCF) and LCM of two numbers

11. Check for prime number

12. Print prime numbers in a range

13. Replace spaces with hyphens in a string

14. Reverse an array using 2-pointer

15. Find duplicate elements in an array

16. Count frequency of characters in a string

17. Remove vowels from a string

18. Convert binary to decimal and vice versa

19. Find factorial of a number

20. Print Pascal's Triangle

21. Count even and odd digits in a number

22. Find missing number in an array

23. Sum of even-position digits

24. Check if two strings are anagrams

25. Matrix transpose or multiplication


26. Rotate an array left/right

27. Print ASCII values of characters

28. Check for perfect number

29. Remove all special characters from a string

30. Capitalize first letter of each word

You might also like