結果 : linked list using stack and queue