Swift | Straightforward
Code\nswift []\nclass Solution {\n    func canChange(_ start: String, _ target: String) -> Bool {\n        return start.lazy.filter { $0 != "_"} == target.lazy.
# Code\n```swift []\nclass Solution {\n    func canChange(_ start: String, _ target: String) -> Bool {\n        return start.lazy.filter { $0 != "_"} == target.lazy.filter { $0 != "_"} &&\n            zip(indices("L", start), indices("L", target)).allSatisfy(>=) &&\n            zip(indices("R", start), indices("R", target)).allSatisfy(<=)\n\n        func indices(_ c: Character, _ s: String) -> [Int] {\n            s.enumerated().lazy.filter { $0.element == c }.map { $0.offset }\n        }\n    }\n}\n```
['Swift']