0555. Split Concatenated Strings
Description
**Input:** strs = ["abc","xyz"]
**Output:** "zyxcba"
**Explanation:** You can get the looped string "-abcxyz-", "-abczyx-", "-cbaxyz-", "-cbazyx-", where '-' represents the looped status.
The answer string came from the fourth looped one, where you could cut from the middle character 'a' and get "zyxcba".**Input:** strs = ["abc"]
**Output:** "cba"ac
Last updated