GoDaddy Interview Question

It was similar to Leetcode 848: Shifting Letters with a slight variation. Also called "Roll The String"

Interview Answer

Anonymous

Apr 11, 2022

I gave a naive solution (I was instructed not to worry about performance), but the best solution involved the use of the Partial Sum Method (b/c everyone has that memorized and ready to dial up at any time)