title: Check Integer Overflow Multiplication
signature: def checkIntegerOverflowMultiplication(a: Long, b: Long) = {
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(a: Long, b: Long, expected: Boolean): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(a, b),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        37L, 80L, 
        false    
      )}")   
  
  
      println(s"TEST-1...${driver(
        10000000000L, -10000000000L, 
        true    
      )}")   
  
  
      println(s"TEST-2...${driver(
        10000000000L, 10000000000L, 
        true    
      )}")   
  
  
      println(s"TEST-3...${driver(
        999999999L, 999999999L, 
        false    
      )}")   
  
  
      println(s"TEST-4...${driver(
        39L, 36L, 
        false    
      )}")   
  
  
      println(s"TEST-5...${driver(
        92L, 56L, 
        false    
      )}")   
  
  
      println(s"TEST-6...${driver(
        14L, 21L, 
        false    
      )}")   
  
  
      println(s"TEST-7...${driver(
        19L, 38L, 
        false    
      )}")   
  
  
      println(s"TEST-8...${driver(
        14L, 82L, 
        false    
      )}")   
  
  
      println(s"TEST-9...${driver(
        88L, 41L, 
        false    
      )}")   
  
  }
  
source_py: def check_integer_overflow_multiplication(a, b):
      if ((a == 0) or (b == 0)):
          return False
      result = (a * b)
      if ((result >= 9223372036854775807) or (result <= (- 9223372036854775808))):
          result = 0
      if (a == (result // b)):
          print((result // b))
          return False
      else:
          return True
source_cpp: bool check_integer_overflow_multiplication(long long a, long long b) {
    if ( a == 0 || b == 0 ) return false;
    long long result = a * b;
    if ( a == result / b ) return false;
    else return true;
  }