Recursion - 1 (bunnyEars) Java Solution || Codingbat.com

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

If you could explain the last part a little better. I see how (bunnies -1) eventually gets down to zero returning the into main after satisfying the base case but in my head the 2 + bunnyEars(bunnies-1); equals to 5 when there are two bunnies. Where are I thinking wrong??

IsaccLightbournELPASOREALTOR
join shbcf.ru