title: Check Given String Rotation Palindrome
signature: checkGivenStringRotationPalindrome :: String -> Bool
  checkGivenStringRotationPalindrome string_arg0 = 
test_code: import Text.Printf
  import Control.Exception (catch, SomeException)
  import Data.Typeable
  import qualified Data.List as List
  import qualified Data.Map as Map
  import qualified Data.Set as Set
  
  -- SOLUTION CODE
  -- ============================================
  
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  validateSolution :: Bool -> Bool -> Bool
  validateSolution actual expected = do
      actual == expected
  
  
  driver :: String -> Bool -> String
  driver string_arg0 expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME string_arg0) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      printf "TEST-0...%s\n" (driver ("aadaa") (True) )
  
      printf "TEST-1...%s\n" (driver ("2674377254") (False) )
  
      printf "TEST-2...%s\n" (driver ("11") (True) )
  
      printf "TEST-3...%s\n" (driver ("0011000") (False) )
  
      printf "TEST-4...%s\n" (driver ("26382426486138") (False) )
  
      printf "TEST-5...%s\n" (driver ("111010111010") (False) )
  
      printf "TEST-6...%s\n" (driver ("abccba") (True) )
  
      printf "TEST-7...%s\n" (driver ("5191") (False) )
  
      printf "TEST-8...%s\n" (driver ("1110101101") (False) )
  
      printf "TEST-9...%s\n" (driver ("abcdecbe") (False) )
  
source_py: def check_given_string_rotation_palindrome(string):
      l = 0
      h = (len(string) - 1)
      while (h > l):
          l += 1
          h -= 1
          if (string[(l - 1)] != string[(h + 1)]):
              return False
      return True
source_cpp: bool check_given_string_rotation_palindrome(string str) {
    int l = 0;
    int h = str . length ( ) - 1;
    while ( h > l ) if ( str [ l ++ ] != str [ h -- ] ) return false;
    return true;
  }