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

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

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

they said in the problem that base and n are 1 or more which means they can't be 0.
so the condition should be if(n==1) return base;
isn't it?

AlamBarmaja
welcome to shbcf.ru