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 ArrayList of Java with a duration of hours minute second in good quality, which was uploaded by the user Prem Aseem Jain 14 August 2019, share the link with friends and acquaintances, this video has already been watched 1,752 times on youtube and it was liked by 11 viewers. Enjoy your viewing!