Checking the validity of a pyramid of dominoes
I came across this question in a coding interview and couldn’t figure out a good solution. You are given 6 dominoes. A domino has 2 halves each with a number of spots. You are building a 3-level...
View ArticleNumber of ways of tiling a 3*N board with 2*1 dominoes problem
I came across this problem, Tiling with Dominoes and initially I faced difficulty in understanding the logic behind recurrence relation, but after reading it from here , I understood it. But I had a...
View Article
More Pages to Explore .....