algorithm - In how many ways can you tile a 3xn rectangle with 2x1 dominoes? -
everyday struggle algorithm questions , try ask here can't answer. excuse me, if cause headache. anyway,
here problem university of waterloo acm programming contest.
in how many ways can tile 3xn rectangle 2x1 dominoes?
nirvana : smells recursion spirit
you can solve using dynamic programming. check this possible solution.
Comments
Post a Comment