We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The question parameter itself wrong, pass width and cases not n
defserviceLane(width,cases):# Write your code hereall_width=[]foreach_caseincases:min_width=min(width[each_case[0]:each_case[1]+1])all_width.append(min_width)returnall_width
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Service Lane
You are viewing a single comment's thread. Return to all comments →
Python