23 lines
413 B
Markdown
23 lines
413 B
Markdown
|
# The Palindrome Algorithm
|
||
|
|
||
|
This checks whether a string is palindrome or not and returns a result.
|
||
|
|
||
|
## Prerequisites
|
||
|
|
||
|
- Rust (https://rust-lang.org)
|
||
|
|
||
|
## Instructions for running the project
|
||
|
|
||
|
- Open a terminal/powershell window in the folder/directory.
|
||
|
|
||
|
- Run the following command
|
||
|
|
||
|
```bash
|
||
|
cargo run --release
|
||
|
```
|
||
|
|
||
|
## Test Cases & Output
|
||
|
- `abba` -> `true`
|
||
|
- `abbcccbba` -> `true`
|
||
|
- `abbccbbba` -> `false`
|