Last few days I am playing around with API Platform, a REST and GraphQL framework to build modern API-driven projects using Symfony framwork. It’s framework for quick and easy setup of an API project. And it’s really easy and fast, except if you face with few issues as I did. In this article I want to share few hints for beginners in Docker and API Platform.
Please check the problem explanation here: https://www.hackerrank.com/challenges/queens-attack-2/problem
Therefore, we need to check how many moves the queen can make on the board with size of NxN. Also calculate that the queen can not jump over obstacles.