結果 : compare stack with queue