https://github.com/monamobeen/daretocode
Hands on Problems
https://github.com/monamobeen/daretocode
c coding-challenge cpp tests
Last synced: about 1 month ago
JSON representation
Hands on Problems
- Host: GitHub
- URL: https://github.com/monamobeen/daretocode
- Owner: MonaMobeen
- Created: 2023-03-05T12:43:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T05:40:55.000Z (over 3 years ago)
- Last Synced: 2025-02-24T01:50:21.607Z (over 1 year ago)
- Topics: c, coding-challenge, cpp, tests
- Language: C++
- Homepage: https://github.com/MonaMobeen/DareToCode
- Size: 4.63 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Palindrome number:
A palindrome number is a number that remains the same when its digits are reversed. For example, 121, 1221, 12321, etc. are palindrome numbers. In other words, a number is a palindrome if it reads the same from left to right as it does from right to left.
# Reverse an Integer Formula:
remainder = n % 10;
reversed_number = reversed_number * 10 + remainder;
n /= 10;