1. 程式人生 > 實用技巧 >企業網路拓撲RSTP功能例項

企業網路拓撲RSTP功能例項

LeetCode 406 根據身高重建佇列

https://leetcode-cn.com/problems/queue-reconstruction-by-height/

貪心

這是一道貪心的題目,然而我是看了力扣題解才明白它的貪心策略的。