by 171243 · 6y ago · 0 comments
1. "b" 2. "bc" 3. "bca" 4. "bca" 5. "bca"
input: "bcabc"
output: "abc"