• + 0 comments

    Damn this is so hard , I was able to solve this problem for any n>1 but as long as m<= 4 , in this cas the solution is one line (2**n -1)**(m-1) .

    I know this because I wasn't respecting the limiting condition on width <=4 , but I don't know how I can extend it for this condition + also idk how to remove the invalid cases from that