[C++] Simple Solution
Code
# Code
```cpp []
class Solution {
public:
    int furthestDistanceFromOrigin(string moves) {
        int l = 0;
        int r = 0;
        int cnt = 0;
        for(char ch : moves) {
            if(ch=='L') l++;
            else if(ch=='R') r++;
            else if(ch=='_') cnt++;
        }

        return max(l, r) - min(l, r) + cnt;
    }
};
```
['C++']