https://github.com/shailscript/ambigram-stuff
Check if a given number is Strobogrammatic and Palindrome
https://github.com/shailscript/ambigram-stuff
Last synced: 3 months ago
JSON representation
Check if a given number is Strobogrammatic and Palindrome
- Host: GitHub
- URL: https://github.com/shailscript/ambigram-stuff
- Owner: shailscript
- Created: 2022-02-22T11:28:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T10:03:58.000Z (over 3 years ago)
- Last Synced: 2025-01-01T23:09:59.000Z (over 1 year ago)
- Language: HTML
- Homepage: ambigram-stuff.vercel.app
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ambigrams
>It is a web application with a functionality of checking whether the entered number is [Strobogrammatic](https://www.geeksforgeeks.org/strobogrammatic-number/ ) and [Palindorme](https://en.wikipedia.org/wiki/Palindromic_number) or not.
### Strobogrammatic Number
- ***A Strobogrammatic Number is a number whose numeral is rotationally symmetric so that it appears the same when rotated 180 degrees.***
- Example#1: 0 after 180° rotation : (0 → 0) : **Its a strobogramatic no.**
- Example#2: 6 after 180° rotation : (6 → 9) : **not a strobogramatic no.**
### Palindorme Number
- ***A is a number (such as 16461) that remains the same when its digits are reversed.***
- Example#1: a given number is 12321 , when reversed it is read 12321 : **Its a plindrome no.**
- Example#2: A given number is 12345 , when reversed it is read 54321 : **not a plindrome no.**