Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 340 Bytes

File metadata and controls

4 lines (3 loc) · 340 Bytes

Patience Sorting

In computer science, patience sorting is a sorting algorithm inspired by, and named after, the card game patience. A variant of the algorithm efficiently computes the length of a longest increasing subsequence in a given array.

Source: Wikipedia