2 votes 2 votes i got O(nlogn). is it right? Algorithms algorithms time-complexity made-easy-test-series + – Sukhdip Singh asked Jan 28, 2018 • edited Mar 4, 2019 by ajaysoni1924 Sukhdip Singh 393 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply joshi_nitish commented Jan 28, 2018 reply Follow Share it will be $O(n)$ 0 votes 0 votes hs_yadav commented Jan 28, 2018 reply Follow Share n(n-1)/n=O(n) 0 votes 0 votes Please log in or register to add a comment.