268 Missing Number Leetcode With And Without Sorting Java