675. Cut Off Trees for Golf Event

/* 1. build priority queue by the weight of the trees 2. start from 0,0 to the lowest tree, and the compute the minSteps of this tree.从最小的树开始。 3. change the start to the lowest tree and cut the second
相关文章
相关标签/搜索