logo

Crowdly

Browser

Add to Chrome

Mille prindib järgmine meetod etteantud kahendotsimispuu ja täisarvu korral? ...

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

Mille prindib järgmine meetod etteantud kahendotsimispuu ja täisarvu

korral?

int loe = 0;

public void prindi(Tipp juur, int k) {

if (juur != null && loe <= k) {

prindi(juur.parem, k);

loe++;

if (loe == k)

System.out.println(juur.võti);

prindi(juur.vasak, k);

}

}
0%
0%
0%
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!

Browser

Add to Chrome