DSA/algorithms/Rust/strings/palindrome/README.md

23 lines
413 B
Markdown
Raw Permalink Normal View History

# 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`