educative.io

Boggle: Runtime complexity


#1

I’ve not understood how the runtime complexity is N^N. Could someone explain that please?