title: Sum K Th Group Odd Positive Numbers 1
signature: def sumKThGroupOddPositiveNumbers1(k: Int) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Int , expected: Int): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(k: Int, expected: Int): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(k),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        57, 
        185193    
      )}")   
  
  
      println(s"TEST-1...${driver(
        96, 
        884736    
      )}")   
  
  
      println(s"TEST-2...${driver(
        14, 
        2744    
      )}")   
  
  
      println(s"TEST-3...${driver(
        64, 
        262144    
      )}")   
  
  
      println(s"TEST-4...${driver(
        24, 
        13824    
      )}")   
  
  
      println(s"TEST-5...${driver(
        74, 
        405224    
      )}")   
  
  
      println(s"TEST-6...${driver(
        85, 
        614125    
      )}")   
  
  
      println(s"TEST-7...${driver(
        27, 
        19683    
      )}")   
  
  
      println(s"TEST-8...${driver(
        78, 
        474552    
      )}")   
  
  
      println(s"TEST-9...${driver(
        1, 
        1    
      )}")   
  
  }
  
source_py: def sum_k_th_group_odd_positive_numbers_1(k):
      return ((k * k) * k)
source_cpp: int sum_k_th_group_odd_positive_numbers_1(int k) {
    return k * k * k;
  }