Loading Company...
This is a verified interview question from Pace-stock-broking. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Colour Grid" covers key patterns like DP.
"IIT Find the number of ways to colour a 3 * n grid using 3 colours such that no row and column has all the colours the same. Print the answer modulo 10^9 + 7."
Join thousands of developers practicing for Pace-stock-broking.