結果 : time complexity of stack using queue