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.
私はツリーを持っており、各ノードが左側のサブツリーと右側のサブツリーのノード数で設定されたツリーのコピーを返す必要があります
これがツリー構造です
izq は左、der は右を意味します。
これは宿題のようです。しかし、ここにヒントがあります:
深さ優先再帰をチェックします。