Leetcode 3426. Manhattan Distances of All Arrangements of Pieces | Hello Interview