title: Check If String Remains Palindrome After Removing Given Number Of Characters
signature: def checkIfStringRemainsPalindromeAfterRemovingGivenNumberOfCharacters(str: String, n: Int) = {
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(str: String, n: Int, expected: Boolean): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(str, n),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        "ZCoQhuM", 2, 
        true    
      )}")   
  
  
      println(s"TEST-1...${driver(
        "7437725", 53, 
        false    
      )}")   
  
  
      println(s"TEST-2...${driver(
        "11", 30, 
        false    
      )}")   
  
  
      println(s"TEST-3...${driver(
        "buGlvR", 1, 
        true    
      )}")   
  
  
      println(s"TEST-4...${driver(
        "9", 92, 
        false    
      )}")   
  
  
      println(s"TEST-5...${driver(
        "101101010110", 3, 
        true    
      )}")   
  
  
      println(s"TEST-6...${driver(
        "YguiM", 18, 
        false    
      )}")   
  
  
      println(s"TEST-7...${driver(
        "8198", 90, 
        false    
      )}")   
  
  
      println(s"TEST-8...${driver(
        "11101", 71, 
        false    
      )}")   
  
  
      println(s"TEST-9...${driver(
        "hUInqJXNdbfP", 4, 
        true    
      )}")   
  
  }
  
source_py: def check_if_string_remains_palindrome_after_removing_given_number_of_characters(str, n):
      l = len(str)
      if (l >= n):
          return True
      return False
source_cpp: bool check_if_string_remains_palindrome_after_removing_given_number_of_characters(string str, int n) {
    int len = str . length ( );
    if ( len >= n ) return true;
    return false;
  }