✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Kahendpuu lehtede sisuks on arvud. Vaja on leida kõigi lehtede arvude summa. Mis on vastava algoritmi keerukus olenevalt kahendpuu tippude koguarvust n?