DEV Community

Discussion on: Daily Challenge #277 - Over the Road

Collapse
 
rafi993 profile image
Rafi

Ruby

def over_the_road(address, n)
    (n * 2) + 1 - address 
end