โ† BNY Mellon questions
CodingMediumReported in a candidate post, Sep 2021

Minimum steps by knight

Filed under BNY Mellon

Given an N x N chessboard and the starting coordinates (sx, sy) and target coordinates (tx, ty) of a knight, find the minimum number of steps required for the knight to reach the destination.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related BNY Mellon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.