title: Hypercube Graph
signature: class Solution {
  
      public Long hypercubeGraph(Integer n) {
test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer n, Long expected){
          try{
              Driver driver = new Driver();
              if (driver.run(n,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(28, 268435456L);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(45, 35184372088832L);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(41, 2199023255552L);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(36, 68719476736L);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer n, Long expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(n),expected);
      }
      
      public boolean validateSolution(Long actual, Long expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
source_py: def hypercube_graph(n):
      if (n == 1):
          return 2
      return (2 * hypercube_graph((n - 1)))
source_cpp: int hypercube_graph(int n) {
    if ( n == 1 ) return 2;
    return 2 * hypercube_graph ( n - 1 );
  }