package leetcode;

/**
 * https://leetcode.com/problems/guess-number-higher-or-lower-ii/
 */
public class Problem375 {
    public int getMoneyAmount(int n) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem375 prob = new Problem375();
        System.out.println(prob.getMoneyAmount(10)); // 21
    }
}
@@ -341,10 +341,126 @@
  // 
-2
 1
+6%0A        System.out.println(prob.getMoneyAmount(15)); // 30%0A        System.out.println(prob.getMoneyAmount(5)); // 6
 %0A   

Update problem 375