777. Swap Adjacent in LR String We can use the same approach as 2337. Move Pieces to Obtain a String to solve this problem, see the notes there.