Free written solutionFurthest Point From Origin (LeetCode 2833): Solution and Explanation
Given moves of 'L', 'R' and free '_' steps on a number line, find the furthest distance from 0 you can end at.
Read the intuition, approach, code and complexity →