📈
notes
Search...
Ctrl + K
0354_Russian_Doll_Envelopes
Solution1 DP + Sort
Time complexity: O(n^2)
先按照 w 排序,把问题转化成找 h 的最长上升子序列的问题。
Previous
0354_Russian_Doll_Envelopes
Next
0355_Design_Twitter
Last updated
3 years ago