@@ -0,0 +1,422 @@
+package dtprogrammer.github.io.p268;%0A%0A/**%0A * 268. Missing Number%0A * http://localhost:2368/268-missing-number/%0A */%0Apublic class Solution %7B%0A    public int missingNumber(int%5B%5D nums) %7B%0A        int n = nums.length;%0A        int expectedSum = n * (n + 1) / 2;%0A        int actualSum = 0;%0A%0A        for (int i = 0; i %3C nums.length; i++) %7B%0A            actualSum += nums%5Bi%5D;%0A        %7D%0A%0A        return expectedSum - actualSum;%0A    %7D%0A%7D%0A

268. Missing Number