title: Minimum Characters Added Front Make String Palindrome
signature: def minimumCharactersAddedFrontMakeStringPalindrome(s: String) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Boolean , expected: Boolean): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(s: String, expected: Boolean): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(s),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        "aadaa", 
        true    
      )}")   
  
  
      println(s"TEST-1...${driver(
        "2674377254", 
        false    
      )}")   
  
  
      println(s"TEST-2...${driver(
        "11", 
        true    
      )}")   
  
  
      println(s"TEST-3...${driver(
        "0011000 ", 
        false    
      )}")   
  
  
      println(s"TEST-4...${driver(
        "26382426486138", 
        false    
      )}")   
  
  
      println(s"TEST-5...${driver(
        "111010111010", 
        false    
      )}")   
  
  
      println(s"TEST-6...${driver(
        "abccba", 
        true    
      )}")   
  
  
      println(s"TEST-7...${driver(
        "5191", 
        false    
      )}")   
  
  
      println(s"TEST-8...${driver(
        "1110101101", 
        false    
      )}")   
  
  
      println(s"TEST-9...${driver(
        "abcdecbe", 
        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;
  }