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.
python code
def solve(steps):
x = []
y = []
for i in range(n):
x.append(steps[i][0])
y.append(steps[i][1])
x1 = min(x)
y1 = min(y)
result = x1*y1
return result
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Rectangular Game
You are viewing a single comment's thread. Return to all comments →
python code def solve(steps): x = [] y = [] for i in range(n): x.append(steps[i][0]) y.append(steps[i][1]) x1 = min(x) y1 = min(y) result = x1*y1 return result