package leetcode;

/**
 * https://leetcode.com/problems/egg-drop-with-2-eggs-and-n-floors/
 */
public class Problem1884 {
    public int twoEggDrop(int n) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1884 prob = new Problem1884();
        System.out.println(prob.twoEggDrop(2)); // 2
        System.out.println(prob.twoEggDrop(3)); // 2
        System.out.println(prob.twoEggDrop(4)); // 3
        System.out.println(prob.twoEggDrop(5)); // 3
        System.out.println(prob.twoEggDrop(100)); // 14
    }
}

package leetcode;

/**
 * https://leetcode.com/problems/egg-drop-with-2-eggs-and-n-floors/
 */
public class Problem1884 {
    public int twoEggDrop(int n) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem1884 prob = new Problem1884();
        System.out.println(prob.twoEggDrop(2)); // 2
        System.out.println(prob.twoEggDrop(3)); // 2
        System.out.println(prob.twoEggDrop(4)); // 3
        System.out.println(prob.twoEggDrop(5)); // 3
        System.out.println(prob.twoEggDrop(10)); // 4
        System.out.println(prob.twoEggDrop(100)); // 14
    }
}

Update problem 1884