https://charlotte-sweeney.medium.com/
An article which explain some mathematical assumptions of this problem.
(Note to me : read again)
https://rosettacode.org/wiki/Knight%27s_tour
A page with algorithm in different langages to solve the problem.
(Note to me : read again)