title: Quick Way Check Characters String
signature: quickWayCheckCharactersString(s) {
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(s, bool expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(s), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          "", 
          true)
      }");
  
      print("TEST-1...${driver(
          "ggg", 
          true)
      }");
  
      print("TEST-2...${driver(
          "11", 
          true)
      }");
  
      print("TEST-3...${driver(
          "KoYIHns", 
          false)
      }");
  
      print("TEST-4...${driver(
          "232", 
          false)
      }");
  
      print("TEST-5...${driver(
          "10111000011101", 
          false)
      }");
  
      print("TEST-6...${driver(
          "DDDD", 
          true)
      }");
  
      print("TEST-7...${driver(
          "11", 
          true)
      }");
  
      print("TEST-8...${driver(
          "11111", 
          true)
      }");
  
      print("TEST-9...${driver(
          "ewJvixQzu", 
          false)
      }");
  
      return 0;
  }
source_py: def quick_way_check_characters_string(s):
      n = len(s)
      for i in range(1, n):
          if (s[i] != s[0]):
              return False
      return True
source_cpp: bool quick_way_check_characters_string(string s) {
    int n = s . length ( );
    for ( int i = 1;
    i < n;
    i ++ ) if ( s [ i ] != s [ 0 ] ) return false;
    return true;
  }