SarvarKh / microverse-coding-challenges

9 stars 0 forks source link

Morning session: Peer to peer code review #2

Open Andrik27001 opened 3 years ago

Andrik27001 commented 3 years ago

Leave your comments below

wandji20 commented 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

akshay-narkar commented 3 years ago

Can look at ways to solve without creating an array if possible.