Softwire Interview Question

Navigation through maze using some simple commands