Track underscore numbers
Intuition
Count Underscore frequency;
Cal 'R'/'L' numbers where 'R' is +1 and 'L' is -1;
return Absolute difference between R/L counts + underscore frequency
Ap
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
1. Count Underscore frequency;
2. Cal 'R'/'L' numbers where 'R' is +1 and 'L' is -1;
3.  return Absolute difference between R/L counts + underscore frequency
# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->
O(N)
- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->
O(1)
# Code
```csharp []
public class Solution {
    public int FurthestDistanceFromOrigin(string moves) {
        int len = moves.Length, maxLen = 0;
        if(len < 2)
            return len;
        int diff = 0, underscores = 0;
        
        foreach(char c in moves)
        {
            if(c == '_')
                underscores++;
            else
                diff += (c == 'R' ? 1 : -1);

        }

        return Math.Abs(diff) + underscores;
    }
}
```
['C#']