title: Check If String Remains Palindrome After Removing Given Number Of Characters
signature: checkIfStringRemainsPalindromeAfterRemovingGivenNumberOfCharacters(str, n) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(bool actual, bool expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(str, n, bool expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(str, n), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          "ZCoQhuM", 2, 
          true)
      }");
  
      print("TEST-1...${driver(
          "7437725", 53, 
          false)
      }");
  
      print("TEST-2...${driver(
          "11", 30, 
          false)
      }");
  
      print("TEST-3...${driver(
          "buGlvR", 1, 
          true)
      }");
  
      print("TEST-4...${driver(
          "9", 92, 
          false)
      }");
  
      print("TEST-5...${driver(
          "101101010110", 3, 
          true)
      }");
  
      print("TEST-6...${driver(
          "YguiM", 18, 
          false)
      }");
  
      print("TEST-7...${driver(
          "8198", 90, 
          false)
      }");
  
      print("TEST-8...${driver(
          "11101", 71, 
          false)
      }");
  
      print("TEST-9...${driver(
          "hUInqJXNdbfP", 4, 
          true)
      }");
  
      return 0;
  }
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;
  }