LeetCode Solutions/Problems/1884. Egg Drop With 2 Eggs and N Floors.java
class Solution {
    public int twoEggDrop(int n) {
        int minimumNumberOfMoves = 0;
        int iterable = n;
        while (iterable > 0){
            minimumNumberOfMoves += 1;
            iterable -= minimumNumberOfMoves;
        }
        return minimumNumberOfMoves;
    }
}