Wells Fargo interview question

minimum knight moves doubly circular linked list array - brute force is accepted