1.
Armstrong Number
Check if a number equals sum of cubes of its digits.
2. GCD and LCM
Find greatest common divisor and least common multiple.
3. String
Eliminate repeated characters.
4. Character Frequency
Count occurrences of each character.
5. Missing Number in Array
Find missing value from 1 to n.
6. Prime Numbers 1 to 100
Print all primes.
7. Rotate Array
Rotate elements by k positions.
8. Check Sorted Array
Verify array order.
9. Merge Sorted Arrays
Merge two sorted arrays.
10. First Non-Repeating Character
Find first unique character.
11. Reverse Words in Sentence
Reverse word order.
12. Word Count
Count words in sentence.
13. Perfect Number
Check sum of divisors equals number.
14. Second Smallest Element
Find second minimum.
15. Replace Spaces
Replace spaces with symbol.
16. Common Elements
Find common array elements.
17. Strong Password
Validate password strength.
18. Sum Even and Odd
Separate sums.
19. Remove Duplicates from Array
Print unique elements.
20. Balanced Parentheses
Check bracket balance.