Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JavaでAVLツリーのダイアグラムを印刷する必要があります.唯一の要件は、イテレータを使用する必要があり、私の教授からのarbitrary側面を使用できないことです. AVL であるため、ツリーに穴が開いたときに NoSuchElementException を取り除く論理的な方法を見つけることができないようです。助言がありますか?