If you have a better/ different solution, please share your solution in the comment.
Youtube playlist for more coding challenge like this:
• Coding Challenge: Exponential power
Github Code Repository for coding challenge:
https://github.com/premaseem/AlgoAndD...
For details visit:
www.premaseem.wordpress.com
On this page of the site you can watch the video online Stack implementation using Array in java with a duration of hours minute second in good quality, which was uploaded by the user Prem Aseem Jain 16 August 2019, share the link with friends and acquaintances, this video has already been watched 146 times on youtube and it was liked by 2 viewers. Enjoy your viewing!