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
219
50.23
2. Reverse a String
Capgemini
EY
+ 2 more
Solve
Medium
112
51.79
3. Length of a String
Shopify
Tech Mahindra
+ 2 more
Solve
Easy
81
60.49
4. Dynamically Allocate Memory
Snowflake
Wipro
+ 2 more
Solve
Medium
44
63.64
5. Sum of Elements in a Dynamically Allocated Array
Cognizant
Walmart
+ 2 more
Solve
Medium
35
80
6. Concatenate Two Strings
Cognizant
Dropbox
+ 2 more
Solve
Medium
32
78.13
7. Copy One String to Another
Tutorialspoint
Walmart
+ 2 more
Solve
Medium
31
58.06
8. Number of Vowels and Consonants in a String
Swiggy
Walmart
+ 2 more
Solve
Medium
46
32.61
9. Read and Display the Contents of Input
Microsoft
PwC
+ 2 more
Solve
Medium
21
85.71
10. Count the Number of Lines in Input
IBM
Samsung
+ 3 more
Solve
Medium
23
65.22
11. Check if a Number is a Palindrome
eBay
Tech Mahindra
+ 2 more
Solve
Easy
23
65.22
12. Factorial of a Number
Cognizant
Microsoft
+ 2 more
Solve
Easy
25
68
13. Sort an Array of Integers
IBM
KPMG
+ 2 more
Solve
Easy
19
73.68
14. Second Largest Element in an Array
EY
Facebook
+ 3 more
Solve
Easy
31
32.26
15. Frequency of Each Element in an array.
Cognizant
Dropbox
+ 2 more
Solve
Easy
16
100
16. Merge two sorted arrays.
IBM
LTIMindtree
+ 2 more
Solve
Medium
19
42.11
17. Length of a String
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
16
75
18. Concatenate Two Strings
Accenture
Airbnb
+ 2 more
Solve
Easy
17
64.71
19. Reverse an array.
Goldman Sachs
Tutorialspoint
+ 2 more
Solve
Medium
16
75
20. Check if Two Strings are Anagrams
Capgemini
LTIMindtree
+ 2 more
Solve
Medium
11
81.82
21. Number of Words in a String
HCL Technologies
Swiggy
+ 2 more
Solve
Easy
12
50
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
15
53.33
24. Transpose of a Matrix
Cognizant
Tech Mahindra
+ 2 more
Solve
Easy
16
31.25
25. Multiply Two Matrices
Dropbox
IBM
+ 2 more
Solve
Medium
9
77.78
26. Find the Determinant of a 2x2 Matrix
IBM
Shopify
+ 2 more
Solve
Medium
6
100
27. Check if a Matrix is Symmetric
Apple
Deloitte
+ 1 more
Solve
Medium
17
23.53
28. Sum of Two Matrices
Deloitte
Swiggy
+ 2 more
Solve
Medium
7
85.71
29. Difference Between Two Matrices
HCL Technologies
Samsung
+ 2 more
Solve
Medium
8
62.5
30. Divisors of a Given Number
Dropbox
IBM
+ 2 more
Solve
Easy
7
57.14
31. Decimal to Binary Number
Capgemini
Samsung
+ 2 more
Solve
Easy
7
57.14
32. Checking Fibonacci Number
Deloitte
Snowflake
+ 2 more
Solve
Easy
7
85.71
33. Fibonacci Numbers
Dropbox
Phillips
+ 2 more
Solve
Easy
6
100
34. GCD of Two Numbers
HCL Technologies
Swiggy
+ 2 more
Solve
Medium
7
85.71
35. Sum of the Series 1² + 2² + ... + n²
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
12
58.33
36. Sum of the Series 1! + 2! + ... + n!
Airbnb
TCS (Tata Consultancy Services)
+ 2 more
Solve
Easy
16
50
37. Sum of the Digits
Deloitte
Swiggy
+ 2 more
Solve
Easy
18
27.78
38. Strong Number Checking
Capgemini
Goldman Sachs
+ 2 more
Solve
Easy
8
62.5
39. Sum of the Series `1 + x + x^2 + x^3 + ... + x^n`
Goldman Sachs
Zomato
+ 2 more
Solve
Easy
13
38.46
40. Sum of the Series '1 + 1/2 + 1/3 + ... + 1/n'
Dropbox
Tech Mahindra
+ 2 more
Solve
Easy
5
100
41. Pascal’s Triangle
Goldman Sachs
Google
+ 2 more
Solve
Easy
7
42.86
42. Roots of a Quadratic Equation
Tutorialspoint
Walmart
+ 1 more
Solve
Easy
10
40
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
8
50
45. Sum of the Squares of Natural Numbers
PwC
Swiggy
+ 2 more
Solve
Easy
8
87.5
46. Sum of All Even Numbers
Capgemini
Zomato
+ 2 more
Solve
Basic
14
85.71
47. First n Prime Numbers
Goldman Sachs
Wipro
+ 2 more
Solve
Easy
5
80
48. Perfect Number Check
Accenture
Airbnb
+ 2 more
Solve
Basic
8
75
49. Sum of the First 'n' Natural Numbers
Airbnb
Wipro
+ 2 more
Solve
Easy
7
85.71
50. Remove Duplicates from an Array
IBM
Snowflake
+ 2 more
Solve
Easy
9
55.56
Advertisements