title: Find Sum Even Index Binomial Coefficients 1
signature: def findSumEvenIndexBinomialCoefficients1(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(
        56, 
        36028797018963968L    
      )}")   
  
  
      println(s"TEST-1...${driver(
        28, 
        134217728L    
      )}")   
  
  
      println(s"TEST-2...${driver(
        4, 
        8L    
      )}")   
  
  
      println(s"TEST-3...${driver(
        24, 
        8388608L    
      )}")   
  
  
      println(s"TEST-4...${driver(
        30, 
        536870912L    
      )}")   
  
  
      println(s"TEST-5...${driver(
        48, 
        140737488355328L    
      )}")   
  
  
      println(s"TEST-6...${driver(
        32, 
        2147483648L    
      )}")   
  
  
      println(s"TEST-7...${driver(
        13, 
        4096L    
      )}")   
  
  
      println(s"TEST-8...${driver(
        19, 
        262144L    
      )}")   
  
  }
  
source_py: def find_sum_even_index_binomial_coefficients_1(n):
      return (1 << (n - 1))
source_cpp: int find_sum_even_index_binomial_coefficients_1(int n) {
    return ( 1 << ( n - 1 ) );
  }