title: Check If String Remains Palindrome After Removing Given Number Of Characters
signature: fun checkIfStringRemainsPalindromeAfterRemovingGivenNumberOfCharacters(str: String, n: Int): Boolean {
test_code: package main
  
  import kotlin.text.*
  import kotlin.math.*
  
  
  // SOLUTION CODE
  // ===================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE
  // ===================================
  fun validateSolution(actual:Boolean, expected:Boolean):Boolean{
    return actual.equals(expected)
  }
  fun driver(str: String, n: Int, expected:Boolean):String {
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME(str, n), expected)) {
                return "PASSED"
        }
        return "FAILED"
      } catch (e: Exception){
        return e::class.simpleName as String
      }
  
  }
  
  fun main() {
      var result: String = ""
      result = driver("ZCoQhuM", 2, true)
      println("TEST-0...${result}")
      
      result = driver("7437725", 53, false)
      println("TEST-1...${result}")
      
      result = driver("11", 30, false)
      println("TEST-2...${result}")
      
      result = driver("buGlvR", 1, true)
      println("TEST-3...${result}")
      
      result = driver("9", 92, false)
      println("TEST-4...${result}")
      
      result = driver("101101010110", 3, true)
      println("TEST-5...${result}")
      
      result = driver("YguiM", 18, false)
      println("TEST-6...${result}")
      
      result = driver("8198", 90, false)
      println("TEST-7...${result}")
      
      result = driver("11101", 71, false)
      println("TEST-8...${result}")
      
      result = driver("hUInqJXNdbfP", 4, true)
      println("TEST-9...${result}")
      
          
  }
  
  main()
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;
  }