Complexity : O(n)