InterviewBit Problems
Ways to color a 3xN Board : Solved
About the Ways to color a 3xN Board : Solved category
(1)
Java Editorial Solution
(2)
Best Greedy Solution in python
(1)
Logic behind solution
(2)
Classical dp solution Time Complexity: O(N*4^3)
(1)
Simple CPP solution using DP without maths
(3)
Lang: C++, Complexity[Time,Space]: [O(n), O(1)]
(1)
I dont know if this is the shortest solution but its easy to implement
(1)
Simpler Solution using Math and DP
(1)
Simple math and DP solution
(3)
next page →