Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Patience Sorting

Sorting Algorithm

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 the longest increasing subsequence in a given array.

Facts
Time Complexity
Time Complexity (category)
Linearithmic Time -- O(n log n) 1
Classification
Design Technique
Greedy 1
Connections

In Field

Source Patience Sorting (Wikipedia)

Uses Design Technique

Entity-backed identity for the design-technique enum value this algorithm already carries, resolved to a computing concept by an explicit value-to-entity map (phase 3 bucket conversion, docs\design_entity_backed_browse_buckets_20260928.md). The design-technique fact itself stays on the algorithm unchanged.

Sources
1. Patience Sorting (Wikipedia)
  • Wikipedia infobox: time complexity linearithmic
    linearithmic
  • In Field: Algorithms and Complexity Theory, Lead sentence
    patience sorting is a sorting algorithm inspired by, and named after, the card game patience.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.