Calculate Power using recursion (DSA important question) #dsa.

preview_player
Показать описание
LIFE CODING WITH JAVA
Calculate Power
Send Feedback
Write a program to find x to the power n (i.e. x^n). Take x and n from the user. You need to return the answer.
Do this recursively.

Sample Input 1 :
3 4
Sample Output 1 :
81
Sample Input 2 :
2 5
Sample Output 2 :
32

I try to solve very easy concept So please watch this video .
All java code with easy trick.
By "LIFE CODING WITH JAVA". all program free no any cost So please like ,subscribe, share and comment.
If you any doubt related to any video then comment me.As soon as I will help you .
my contact number: 6206472735
Рекомендации по теме
Комментарии
Автор

LinKed list 1, 2 ka video upload kijiye

khushboo
Автор

Thanks for notes cleared during the explanation;

biraj
Автор

when the next DSA Problem vedio you are add on playlist

SandipBorse-uf
Автор

please upload code with explanation for transpose of a matrix and query and matrix for this 2 problems

himajabaliboyena