Queens That Can Attack the King
Problem Statement:
There is an 8x8 chessboard, there can be multiple Black Queens and one White King. We are given with the coordinates of all the black queens and and one white king, we have to return all the queens (in any order) that…