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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -