logo

Crowdly

Tühja kahendpuusse lisatakse teatavas järjekorras arvud 1, 2, 3, 4, 5, 6, 7. Mit...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Tühja kahendpuusse lisatakse teatavas järjekorras arvud 1, 2, 3, 4, 5,

6, 7. Mitmes erinevas järjekorras saab need arvud puusse lisada, et

tekiks puu kõrgusega 6?

Puu kõrgus on servade arv juurest sügavaima leheni. Ühetipulise puu

kõrgus on 0.

Vastus:

Vihje: vasak alluv, parem alluv.

More questions like this

Want instant access to all verified answers on moodle.ut.ee?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!