CHALLENGES

Back to home page
  • Robot Movements

    Sponsoring Company:

    Challenge Description:

    A robot is located at the top-left corner of a 4x4 grid. The robot can move either up, down, left, or right, but can not visit the same spot twice. The robot is trying to reach the bottom-right corner of the grid.

    Input sample:

    There is no input for this program.

    Output sample:

    Print out the unique number of ways the robot can reach its destination. (The number should be printed as an integer whole number eg. if the answer is 10 (its not !!), print out 10, not 10.0 or 10.00 etc)