dart easy solution
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```dart []\nclass Solution {\n  int furthestDistanceFromOrigin(String moves) {\n    int position = 0;\n    int uderscroe= 0;\n    for(int i=0;i<moves.length;i++){\n        if(moves[i]== "L"){\n           position --; \n        }else if(moves[i] == "R"){\n            position ++ ;\n        }else if(moves[i] == "_"){\n           uderscroe ++;\n        }\n    }\n    return position.abs()+uderscroe;\n  }\n}\n```
['Dart']