simple and easy C++ solution
\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n###### Let\'s Connect on Linkedin: www.linkedin.com/in/shishirrsiam\n\n\n\n# Code\ncpp []\nclass Solutio
\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n###### Let\'s Connect on Linkedin: www.linkedin.com/in/shishirrsiam\n\n\n\n# Code\n```cpp []\nclass Solution {\npublic:\n    bool canChange(string start, string target) \n    {\n        int idx = 0, cur = 0, n = start.size();\n\n        for(int i = 0; i < n; i++)\n        {\n            if(start[i] == target[i]) continue;\n            \n            cur = max(cur, i + 1);\n            if(start[i] == \'_\')\n            {\n                while(cur < n)\n                {\n                    if(start[cur] == \'R\') return false;\n                    if(start[cur] == \'L\')\n                    {\n                        swap(start[i], start[cur++]);\n                        break;\n                    }\n                    cur++;\n                }\n            }\n            \n            if(start[i] == \'R\')\n            {\n                while(cur < n)\n                {\n                    if(start[cur] == \'L\') return false;\n                    if(start[cur] == \'_\')\n                    {\n                        swap(start[i], start[cur++]);\n                        break;\n                    }\n                    cur++;\n                }\n            }\n        }\n        return start == target;\n    }\n};\n```
['Two Pointers', 'String', 'C++']