Could any one please help understand time complexities for this tutorial.
Tutorial, How complexity is O(3^k .k)?
Thanks in advance.
Atcoder ABC #354 Solution Discussion