Swap Adjacent in LR String

mediumSolve on LeetCode
Last edited: October 13, 2025