Skip to content

1411-number-of-ways-to-paint-n-3-grid

DevGod
DevGod
Vtuber
class Solution {
public int numOfWays(int n) {
return (3**n)%(10^9+7);
}
}