0 votes 0 votes Algorithms time-complexity array algorithm-design + – Deepalitrapti asked Sep 1, 2018 • retagged Jun 13, 2022 by makhdoom ghaya Deepalitrapti 855 views answer comment Share Follow See all 13 Comments See all 13 13 Comments reply Show 10 previous comments air1ankit commented Sep 2, 2018 reply Follow Share Well explanation bro @shaikmasthan 0 votes 0 votes Shaik Masthan commented Sep 2, 2018 reply Follow Share we can't apply binary search, due to array is not sort. But we know that n is fixed ===> apply counting sort ==> O(n) then again with a for loop, we can know which is missing ===> O(n) O(n)+O(n) = O(n) 0 votes 0 votes mrinmoyh commented Sep 17, 2020 reply Follow Share XOR method is also interesting- https://www.geeksforgeeks.org/find-the-missing-number/ 0 votes 0 votes Please log in or register to add a comment.