Easy Python Solution
Code\npython3 []\nclass Solution:\n    def canChange(self, start: str, target: str) -> bool:\n        s_no_underscore = start.replace(\'_\', \'\')\n        t_no
# Code\n```python3 []\nclass Solution:\n    def canChange(self, start: str, target: str) -> bool:\n        s_no_underscore = start.replace(\'_\', \'\')\n        t_no_underscore = target.replace(\'_\', \'\')\n        if s_no_underscore != t_no_underscore:\n            return False\n        n = len(start)\n        i, j = 0, 0\n        while i < n and j < n:\n            while i < n and start[i] == \'_\':\n                i += 1\n            while j < n and target[j] == \'_\':\n                j += 1\n            if i < n and j < n:\n                if start[i] != target[j] or start[i] == \'L\' and i < j or start[i] == \'R\' and i > j:\n                    return False\n            i += 1\n            j += 1\n        return True\n```
['Python3']