package leetcode;

/**
 * https://leetcode.com/problems/online-stock-span/
 */
public class Problem901 {
    private static class StockSpanner {
        public StockSpanner() {
        }

        public int next(int price) {
            // TODO
            return 0;
        }
    }

    public static void main(String[] args) {
        StockSpanner spanner = new StockSpanner();
    }
}

@@ -373,16 +373,374 @@
 nner();%0A
+        System.out.println(spanner.next(100)); // 1%0A        System.out.println(spanner.next(80)); // 1%0A        System.out.println(spanner.next(60)); // 2%0A        System.out.println(spanner.next(70)); // 1%0A        System.out.println(spanner.next(60)); // 1%0A        System.out.println(spanner.next(75)); // 4%0A        System.out.println(spanner.next(85)); // 6%0A
     %7D%0A%7D%0A

Update problem 901