Solving DSA Problems. HackerRank: Queen's Attack II
Problem statement
You will be given a square chess board with one queen and a number of obstacles placed on it. Determine how many squares the queen can attack.
A queen is standing on an n × n chessboard. The chess board's rows are numbered from 1 to...
mmzeynalli.hashnode.dev9 min read