educative.io

Boggle: Runtime complexity

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