← ALL NOTES
Math

3307. Find the K-th Character in String Game II

Start with the string "a". On the i-th operation: if operations[i]=0, append an unchanged copy; if 1, append a copy with each character shifted to the next in the alphabet (after 'z' → 'a'). Find the…

Loading…