Oracle Interview Question

25 horses puzzle