We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
for those who didnt misinterpreted the question like me
he is saying that when you cut a page vertically into n pieces (e.g) then u will have new n pages and each of them u have to cut individually
e.g i have 4*4 page and i made 3 vertical cuts then i have 4 vertical pages of height 4 each now i need to cut them horizontally 3 times each
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Cutting Paper Squares
You are viewing a single comment's thread. Return to all comments →
for those who didnt misinterpreted the question like me he is saying that when you cut a page vertically into n pieces (e.g) then u will have new n pages and each of them u have to cut individually e.g i have 4*4 page and i made 3 vertical cuts then i have 4 vertical pages of height 4 each now i need to cut them horizontally 3 times each