@@ -0,0 +1,390 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/missing-number/%0A */%0Apublic class Problem268 %7B%0A    public int missingNumber(int%5B%5D nums) %7B%0A        int expected = 0;%0A        for (int i = 0; i %3C= nums.length; i++) %7B%0A            expected += i;%0A        %7D%0A        int actual = 0;%0A        for (int num : nums) %7B%0A            actual += num;%0A        %7D%0A        return expected - actual;%0A    %7D%0A%7D

Solve problem 268