Merge 0ceb4410cb
into 08b771c863
commit
eb18654373
@ -0,0 +1,44 @@
|
||||
# Palindrome-App
|
||||
|
||||
**Tier:** 2-Beginner
|
||||
|
||||
A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards.
|
||||
|
||||
The purpose of this application is to check whether the given number is palindrome or not.
|
||||
|
||||
### Constraints
|
||||
|
||||
Below algorithm can be used to build the application.
|
||||
|
||||
- Get the user input number
|
||||
- Hold the input number value in a temporary variable
|
||||
- Reverse the number
|
||||
- Compare the temporary number with reversed number
|
||||
- If the both temporary number and reversed number are same, print 'Yes, it's a palindrome number'
|
||||
- Else print 'Not a palindrome number'
|
||||
|
||||
|
||||
## User Stories
|
||||
|
||||
- [ ] User can input a number for palindrome.
|
||||
- [ ] User can see thesplay user input number.
|
||||
- [ ] User can see the reversed number.
|
||||
- [ ] User can .whether the imput number is Palindrome or not.
|
||||
|
||||
|
||||
## Bonus features
|
||||
|
||||
- [ ] User can input a string and check whether it is a palindrome.
|
||||
- [ ] User can input number array or string array and check whether the elemnents in arrays are Palindrome or not.
|
||||
|
||||
## Useful links and resources
|
||||
|
||||
|
||||
|
||||
- [Palindrome Program in Java (JavaTpoint)](https://www.javatpoint.com/palindrome-program-in-java)
|
||||
- [Java Program to Check Palindrome String](https://www.programiz.com/java-programming/examples/palindrome-number)
|
||||
|
||||
|
||||
## Example projects
|
||||
|
||||
- [Palindrome Program (TharinduDilshan)](https://github.com/TharinduDilshan/InterviewQuestions/blob/main/Java/Dynamic%20Programming/Palindrome.java]
|
Loading…
Reference in new issue