Home
Whiteboard
Online Compilers
Practice
Articles
Tools
Chapters
Categories
Library
Courses
Certifications
Login
Total Problems:
50
C++ Basic Coding Problems
Total Points Scored:
0/420
1. Swap Two Numbers
Amazon
Facebook
+ 2 more
Solve
Easy
144
55.56
2. Reverse a String
Capgemini
EY
+ 2 more
Solve
Medium
65
61.54
3. Length of a String
Shopify
Tech Mahindra
+ 2 more
Solve
Easy
58
56.9
4. Dynamically Allocate Memory
Snowflake
Wipro
+ 2 more
Solve
Medium
30
66.67
5. Sum of Elements in a Dynamically Allocated Array
Cognizant
Walmart
+ 2 more
Solve
Medium
26
80.77
6. Concatenate Two Strings
Cognizant
Dropbox
+ 2 more
Solve
Medium
23
78.26
7. Copy One String to Another
Tutorialspoint
Walmart
+ 2 more
Solve
Medium
19
63.16
8. Number of Vowels and Consonants in a String
Swiggy
Walmart
+ 2 more
Solve
Medium
31
32.26
9. Read and Display the Contents of Input
Microsoft
PwC
+ 2 more
Solve
Medium
17
88.24
10. Count the Number of Lines in Input
IBM
Samsung
+ 3 more
Solve
Medium
15
73.33
11. Check if a Number is a Palindrome
eBay
Tech Mahindra
+ 2 more
Solve
Easy
16
75
12. Factorial of a Number
Cognizant
Microsoft
+ 2 more
Solve
Easy
16
75
13. Sort an Array of Integers
IBM
KPMG
+ 2 more
Solve
Easy
14
71.43
14. Second Largest Element in an Array
EY
Facebook
+ 3 more
Solve
Easy
18
38.89
15. Frequency of Each Element in an array.
Cognizant
Dropbox
+ 2 more
Solve
Easy
12
100
16. Merge two sorted arrays.
IBM
LTIMindtree
+ 2 more
Solve
Medium
10
60
17. Length of a String
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
12
75
18. Concatenate Two Strings
Accenture
Airbnb
+ 2 more
Solve
Easy
12
66.67
19. Reverse an array.
Goldman Sachs
Tutorialspoint
+ 2 more
Solve
Medium
13
69.23
20. Check if Two Strings are Anagrams
Capgemini
LTIMindtree
+ 2 more
Solve
Medium
9
77.78
21. Number of Words in a String
HCL Technologies
Swiggy
+ 2 more
Solve
Easy
11
45.45
22. Largest Word in a String
Capgemini
TCS (Tata Consultancy Services)
+ 2 more
Solve
Easy
11
54.55
23. Replace All Vowels in a String
Apple
Capgemini
+ 2 more
Solve
Easy
8
87.5
24. Transpose of a Matrix
Cognizant
Tech Mahindra
+ 2 more
Solve
Easy
13
23.08
25. Multiply Two Matrices
Dropbox
IBM
+ 2 more
Solve
Medium
7
71.43
26. Find the Determinant of a 2x2 Matrix
IBM
Shopify
+ 2 more
Solve
Medium
5
100
27. Check if a Matrix is Symmetric
Apple
Deloitte
+ 1 more
Solve
Medium
14
28.57
28. Sum of Two Matrices
Deloitte
Swiggy
+ 2 more
Solve
Medium
6
83.33
29. Difference Between Two Matrices
HCL Technologies
Samsung
+ 2 more
Solve
Medium
7
57.14
30. Divisors of a Given Number
Dropbox
IBM
+ 2 more
Solve
Easy
5
60
31. Decimal to Binary Number
Capgemini
Samsung
+ 2 more
Solve
Easy
5
60
32. Checking Fibonacci Number
Deloitte
Snowflake
+ 2 more
Solve
Easy
6
83.33
33. Fibonacci Numbers
Dropbox
Phillips
+ 2 more
Solve
Easy
5
100
34. GCD of Two Numbers
HCL Technologies
Swiggy
+ 2 more
Solve
Medium
6
83.33
35. Sum of the Series 1² + 2² + ... + n²
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
10
50
36. Sum of the Series 1! + 2! + ... + n!
Airbnb
TCS (Tata Consultancy Services)
+ 2 more
Solve
Easy
5
100
37. Sum of the Digits
Deloitte
Swiggy
+ 2 more
Solve
Easy
11
27.27
38. Strong Number Checking
Capgemini
Goldman Sachs
+ 2 more
Solve
Easy
5
80
39. Sum of the Series `1 + x + x^2 + x^3 + ... + x^n`
Goldman Sachs
Zomato
+ 2 more
Solve
Easy
8
50
40. Sum of the Series '1 + 1/2 + 1/3 + ... + 1/n'
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
4
100
41. Pascal’s Triangle
Goldman Sachs
Google
+ 2 more
Solve
Easy
3
66.67
42. Roots of a Quadratic Equation
Tutorialspoint
Walmart
+ 1 more
Solve
Easy
8
37.5
43. LCM of Two Numbers
Dropbox
TCS (Tata Consultancy Services)
+ 2 more
Solve
Easy
6
66.67
44. Armstrong Number Check
Dropbox
Wipro
+ 2 more
Solve
Easy
7
42.86
45. Sum of the Squares of Natural Numbers
PwC
Swiggy
+ 2 more
Solve
Easy
5
80
46. Sum of All Even Numbers
Capgemini
Zomato
+ 2 more
Solve
Basic
6
100
47. First n Prime Numbers
Goldman Sachs
Wipro
+ 2 more
Solve
Easy
4
75
48. Perfect Number Check
Accenture
Airbnb
+ 2 more
Solve
Basic
7
71.43
49. Sum of the First 'n' Natural Numbers
Airbnb
Wipro
+ 2 more
Solve
Easy
5
80
50. Remove Duplicates from an Array
IBM
Snowflake
+ 2 more
Solve
Easy
8
50
Advertisements