Committed Hackerrank: Service Lane solution