A knight in chess can move or at each turn, as long as that movement stays inside the board. The chess starts at in an chess board (bottom left corner), where and mod . Find the number of shortest paths from to when .
A knight in chess can move or at each turn, as long as that movement stays inside the board. The chess starts at in an chess board (bottom left corner), where and mod . Find the number of shortest paths from to when .
Create a free account to answer questions and track your progress — across 2,000+ interview questions.
Get started for free