Easy Java Solution
```\nclass Solution {\n    public boolean canChange(String s, String e) {\n        if(s.length() != e.length() ) return false;\n        if(s.equals(e) ) return 
```\nclass Solution {\n    public boolean canChange(String s, String e) {\n        if(s.length() != e.length() ) return false;\n        if(s.equals(e) ) return true;\n        int n = s.length();\n        \n        \n        if(s.replace("_","").equals(e.replace("_","")) == false) return false;\n        \n        // System.out.println("lll");\n        int i = 0; int j = 0;\n        \n        while(i < n && j < n){\n            while(i < n && s.charAt(i) != \'R\') i++;\n            while(j < n && e.charAt(j) != \'R\') j++;\n            \n            if(i > j) return false;\n            i++;\n            j++;\n            \n        }\n        i = 0; j = 0;\n        \n        while(i < n && j < n){\n            while(i < n && s.charAt(i) != \'L\') i++;\n            while(j < n && e.charAt(j) != \'L\') j++;\n            \n            if(j > i) return false;\n            i++;\n            j++;\n            \n        }\n        \n        return true;\n    }\n}
['Two Pointers', 'Java']