Rotate String (variant with two string arrays)

Asked at Microsoft · Coding & Leetcode-style Questions · Difficulty: Medium

You are given two string arrays `A` and `B` of the same length `n`. For each index `i`, you may rotate `A[i]` any number of times (cyclic shift).

Loading the problem…