package leetcode;

/**
 * https://leetcode.com/problems/car-fleet/
 */
public class Problem853 {
    public int carFleet(int target, int[] position, int[] speed) {
        // TODO
        return 0;
    }

    public static void main(String[] args) {
        Problem853 prob = new Problem853();
        System.out.println(prob.carFleet(12, new int[]{10, 8, 0, 5, 3}, new int[]{2, 4, 1, 1, 3})); // 3
    }
}

@@ -287,16 +287,18 @@
 m853();%0A
+//
         
@@ -394,16 +394,547 @@
 ); // 3%0A
+//        System.out.println(prob.carFleet(12, new int%5B%5D%7B10, 7, 0, 5, 3%7D, new int%5B%5D%7B2, 4, 1, 1, 3%7D)); // 4%0A//        System.out.println(prob.carFleet(12, new int%5B%5D%7B1, 2, 3, 4, 5%7D, new int%5B%5D%7B5, 4, 3, 2, 1%7D)); // 1%0A//        System.out.println(prob.carFleet(15, new int%5B%5D%7B4, 5%7D, new int%5B%5D%7B2, 1%7D)); // 1%0A//        System.out.println(prob.carFleet(10, new int%5B%5D%7B2, 4%7D, new int%5B%5D%7B3, 2%7D)); // 1%0A        System.out.println(prob.carFleet(31, new int%5B%5D%7B5, 26, 18, 25, 29, 21, 22, 12, 19, 6%7D, new int%5B%5D%7B7, 6, 6, 4, 3, 4, 9, 7, 6, 4%7D)); // 6%0A
     %7D%0A%7D%0A

Update problem 853