title: Check Given String Rotation Palindrome
signature: class Solution {
  
      public Boolean checkGivenStringRotationPalindrome(String string_arg0) {
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;
  }
question_info.extension: java
question_info.entry_fn_name: checkGivenStringRotationPalindrome
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": true, "inputs": {"string_arg0": "aadaa"}}, {"idx": 1, "outputs": false, "inputs": {"string_arg0": "2674377254"}}, {"idx": 2, "outputs": true, "inputs": {"string_arg0": "11"}}, {"idx": 3, "outputs": false, "inputs": {"string_arg0": "0011000"}}, {"idx": 4, "outputs": false, "inputs": {"string_arg0": "26382426486138"}}, {"idx": 5, "outputs": false, "inputs": {"string_arg0": "111010111010"}}, {"idx": 6, "outputs": true, "inputs": {"string_arg0": "abccba"}}, {"idx": 7, "outputs": false, "inputs": {"string_arg0": "5191"}}, {"idx": 8, "outputs": false, "inputs": {"string_arg0": "1110101101"}}, {"idx": 9, "outputs": false, "inputs": {"string_arg0": "abcdecbe"}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(String string_arg0, Boolean expected){
          try{
              Driver driver = new Driver();
              if (driver.run(string_arg0,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution("aadaa", true);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution("2674377254", false);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution("11", true);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution("0011000", false);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution("26382426486138", false);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution("111010111010", false);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution("abccba", true);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution("5191", false);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution("1110101101", false);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution("abcdecbe", false);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(String string_arg0, Boolean expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(string_arg0),expected);
      }
      
      public boolean validateSolution(Boolean actual, Boolean expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__