Skip to content
RED SAG Skills
hard20 pts · first answer countsdynamic-programminglis

Nesting envelopes inside each other

An envelope fits inside another only if both width and height are strictly smaller. To find the longest nesting chain with an O(n log n) LIS, how should you sort?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions