stack can make time complex in O(n). Try again.