title: Double Factorial
signature: def doubleFactorial(n: Int) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Long , expected: Long): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(n: Int, expected: Long): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(n),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        15, 
        2027025L    
      )}")   
  
  
      println(s"TEST-1...${driver(
        21, 
        13749310575L    
      )}")   
  
  }
  
source_py: def double_factorial(n):
      if ((n == 0) or (n == 1)):
          return 1
      return (n * double_factorial((n - 2)))
source_cpp: unsigned int double_factorial(unsigned int n) {
    if ( n == 0 || n == 1 ) return 1;
    return n * double_factorial ( n - 2 );
  }