Encircular

Asked at Goldman Sachs · Coding & Leetcode-style Questions · Difficulty: Medium

"\n Build a computer simulation of a mobile robot. The robot moves on an infinite plane, starting from position \n (0, 0). Its movements are described by a command string consisting of one or more of the following three letters:\n

Loading the problem…