title: Check Given String Rotation Palindrome
signature: checkGivenStringRotationPalindrome(string_arg0) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(bool actual, bool expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(string_arg0, bool expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(string_arg0), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          "aadaa", 
          true)
      }");
  
      print("TEST-1...${driver(
          "2674377254", 
          false)
      }");
  
      print("TEST-2...${driver(
          "11", 
          true)
      }");
  
      print("TEST-3...${driver(
          "0011000", 
          false)
      }");
  
      print("TEST-4...${driver(
          "26382426486138", 
          false)
      }");
  
      print("TEST-5...${driver(
          "111010111010", 
          false)
      }");
  
      print("TEST-6...${driver(
          "abccba", 
          true)
      }");
  
      print("TEST-7...${driver(
          "5191", 
          false)
      }");
  
      print("TEST-8...${driver(
          "1110101101", 
          false)
      }");
  
      print("TEST-9...${driver(
          "abcdecbe", 
          false)
      }");
  
      return 0;
  }
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;
  }