Number Problems
- Reverse an integer without converting it to a string.
- Check whether a number is a palindrome.
- Count the digits in a number.
- Find the sum of a number’s digits.
- Check whether a number is prime.
- Print the first
nFibonacci numbers. - Find the factorial of a number.
- Find the greatest common divisor of two numbers.
- Find all Armstrong numbers in a range.
- Find the second-largest distinct number in a list.