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.
I don't get it. How would you make n(1) = 34?
you put 4 ones and 12 0s in the 4 by 4, there is only 8 (4*2) unique ways to put them. and if you allow them to be non-unique, then what is the point of this question?
Any one has any idea how the base case is calculated?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #166: Criss Cross
You are viewing a single comment's thread. Return to all comments →
I don't get it. How would you make n(1) = 34? you put 4 ones and 12 0s in the 4 by 4, there is only 8 (4*2) unique ways to put them. and if you allow them to be non-unique, then what is the point of this question? Any one has any idea how the base case is calculated?