Leetcode 1222. Queens That Can Attack the King | Hello Interview