title: Minimum Characters Added Front Make String Palindrome
signature: minimumCharactersAddedFrontMakeStringPalindrome :: String -> Bool
  minimumCharactersAddedFrontMakeStringPalindrome s = 
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 s expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME s) 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 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;
  }