Product manager and developer
Pinned Loading
-
doubleblind-server
doubleblind-server PublicGo backend to handle requests from doubleblind-client
Go
-
Leetcode 2058 - Medium - Find the M...
Leetcode 2058 - Medium - Find the Minimum and Maximum Number of Nodes Between Critical Points 1"""
2We can optimise by recognising that:
3- max_dist will always be (last - first)
4- min_dist will always be from one pair of adjacent critical points, so we can calculate it as we run through the list
5
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.