Open Andrik27001 opened 3 years ago
This works fine for smaller book sizes. You could try picking the direction to count first by getting the distance between the first page and given page and as well the distance from the given page to the last page. so you can choose the direction to count from
Can look at ways to solve without creating an array if possible.
Leave your comments below