Computer science assignment

Puzzle that is solved by DFS or BFS, has to be in O(n^2) time.

Please

Question

Computer science assignment.

Puzzle that is solved by DFS or BFS, has to be in O(n^2) time.

Please

help me with this.

Thanks

All required documents are attached.

Engineering Technology