• + 1 comment

    A C++ 11 solution using the idea of breadth first search https://www.hackerrank.com/challenges/castle-on-the-grid/submissions/code/21460346 All the test cases passed.