BlackBuck Interview Question

Shortest path in a binary maze