title: Quick Way Check Characters String
signature: quickWayCheckCharactersString :: String -> Bool
  quickWayCheckCharactersString 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 ("") (True) )
  
      printf "TEST-1...%s\n" (driver ("ggg") (True) )
  
      printf "TEST-2...%s\n" (driver ("11") (True) )
  
      printf "TEST-3...%s\n" (driver ("KoYIHns") (False) )
  
      printf "TEST-4...%s\n" (driver ("232") (False) )
  
      printf "TEST-5...%s\n" (driver ("10111000011101") (False) )
  
      printf "TEST-6...%s\n" (driver ("DDDD") (True) )
  
      printf "TEST-7...%s\n" (driver ("11") (True) )
  
      printf "TEST-8...%s\n" (driver ("11111") (True) )
  
      printf "TEST-9...%s\n" (driver ("ewJvixQzu") (False) )
  
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;
  }