title: Minimum Characters Added Front Make String Palindrome
signature: pub fn minimum_characters_added_front_make_string_palindrome(s: String) -> bool {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: bool, expected: bool)->bool{
  return actual==expected
  }
  pub fn driver(s: String, expected: bool)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(s), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        "aadaa".to_string(), 
        true
      ));
      
      println!("TEST-1...{}", driver(
        "2674377254".to_string(), 
        false
      ));
      
      println!("TEST-2...{}", driver(
        "11".to_string(), 
        true
      ));
      
      println!("TEST-3...{}", driver(
        "0011000 ".to_string(), 
        false
      ));
      
      println!("TEST-4...{}", driver(
        "26382426486138".to_string(), 
        false
      ));
      
      println!("TEST-5...{}", driver(
        "111010111010".to_string(), 
        false
      ));
      
      println!("TEST-6...{}", driver(
        "abccba".to_string(), 
        true
      ));
      
      println!("TEST-7...{}", driver(
        "5191".to_string(), 
        false
      ));
      
      println!("TEST-8...{}", driver(
        "1110101101".to_string(), 
        false
      ));
      
      println!("TEST-9...{}", driver(
        "abcdecbe".to_string(), 
        false
      ));
      
  }
source_py: def minimum_characters_added_front_make_string_palindrome(s):
      l = len(s)
      i = 0
      j = (l - 1)
      while (i <= j):
          if (s[i] != s[j]):
              return False
          i += 1
          j -= 1
      return True
source_cpp: bool minimum_characters_added_front_make_string_palindrome(string s) {
    int l = s . length ( );
    int j;
    for ( int i = 0, j = l - 1;
    i <= j;
    i ++, j -- ) {
      if ( s [ i ] != s [ j ] ) return false;
    }
    return true;
  }