結果 : stack worst case time complexity