Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one liner solution in Clear category for Follow Instructions by m.kurapov
def follow(instructions: str): c=instructions.count; return c('r')-c('l'),c('f')-c('b')
Jan. 17, 2022