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

413 B

The Palindrome Algorithm

This checks whether a string is palindrome or not and returns a result.

Prerequisites

Instructions for running the project

  • Open a terminal/powershell window in the folder/directory.

  • Run the following command

    cargo run --release
    

Test Cases & Output

  • abba -> true
  • abbcccbba -> true
  • abbccbbba -> false