<gouthampradhan>depth_first_search_CrackingTheSafe_1.java
private int getStates(int n, int k) {
    if (n == 0) return 1;
    if (n == 1) return k;
    int result = 1;
    for (int i = 0; i < n; i++) {
      result *= k;
    }
    return result;
  }
private int sample_funcname ( int var_0 , int var_1 ) {
  if ( var_0 == 0 ) return 1 ;
  if ( var_0 == 1 ) return var_1 ;
  int var_4 = 1 ;
  for ( int var_5 = 0 ;
  var_5 < var_0 ;
  var_5 ++ ) {
    var_4 *= var_1 ;
  }
  return var_4 ;
}
