can anyone explain the approach?
# cook your dish here
Problem Link: Cut the Board Practice Coding Problem