A quiz from hackerrank.com, that involves a princess and a bot, whereby the bot needs to input the steps it requires to save the princess. The code has been written in Java.