Trendoday

Treap (Cartesian Tree)

0 comments

  • Points36
  • Comments5
–Rank now
#20Peak rank
1Days on list
–Score · 7d
Oct 29, 2026First seen

On Hacker News

Points
36
Comments
5
Submitted by
vismit2000
Posted
Oct 26, 2026
Site
cp-algorithms.com

Story details from Hacker News ↗ · linked article on cp-algorithms.com.

Trending history

Treap (Cartesian Tree) was first seen on Hacker News · Front page on Oct 29, 2026. Since then it has appeared in 35 checks on 1 different day. Its best position was #20 of 30, reached on Oct 29, 13:07 UTC. It dropped off the list after Oct 29, 13:37 UTC.

Rank history

Position on Hacker News · Front page at every check (lower is better).

#1#11#20#30 04:5007:0209:1311:2513:37 Oct 29, 04:50 UTC · #29Oct 29, 05:05 UTC · #29Oct 29, 05:20 UTC · #29Oct 29, 05:35 UTC · #29Oct 29, 05:50 UTC · #29Oct 29, 06:05 UTC · #28Oct 29, 06:20 UTC · #28Oct 29, 06:35 UTC · #28Oct 29, 06:50 UTC · #29Oct 29, 07:05 UTC · #27Oct 29, 07:20 UTC · #28Oct 29, 07:35 UTC · #28Oct 29, 07:52 UTC · #28Oct 29, 08:07 UTC · #26Oct 29, 08:22 UTC · #25Oct 29, 08:37 UTC · #26Oct 29, 08:52 UTC · #27Oct 29, 09:07 UTC · #28Oct 29, 09:22 UTC · #28Oct 29, 09:37 UTC · #28Oct 29, 09:52 UTC · #28Oct 29, 10:07 UTC · #26Oct 29, 10:22 UTC · #27Oct 29, 10:37 UTC · #27Oct 29, 10:52 UTC · #27Oct 29, 11:07 UTC · #25Oct 29, 11:22 UTC · #25Oct 29, 11:37 UTC · #25Oct 29, 11:52 UTC · #26Oct 29, 12:07 UTC · #24Oct 29, 12:22 UTC · #24Oct 29, 12:37 UTC · #24Oct 29, 12:52 UTC · #21Oct 29, 13:07 UTC · #20Oct 29, 13:37 UTC · #25

Last 14 days

Best rank per day (UTC).

Oct 26today

Metric history

Platform metric as reported by Hacker News.

0142843 04:5007:0209:1311:2513:37 Oct 29, 04:50 UTC · 4Oct 29, 05:05 UTC · 5Oct 29, 05:20 UTC · 5Oct 29, 05:35 UTC · 7Oct 29, 05:50 UTC · 8Oct 29, 06:05 UTC · 8Oct 29, 06:20 UTC · 8Oct 29, 06:35 UTC · 9Oct 29, 06:50 UTC · 9Oct 29, 07:05 UTC · 10Oct 29, 07:20 UTC · 12Oct 29, 07:35 UTC · 12Oct 29, 07:52 UTC · 15Oct 29, 08:07 UTC · 15Oct 29, 08:22 UTC · 18Oct 29, 08:37 UTC · 21Oct 29, 08:52 UTC · 22Oct 29, 09:07 UTC · 22Oct 29, 09:22 UTC · 24Oct 29, 09:37 UTC · 24Oct 29, 09:52 UTC · 24Oct 29, 10:07 UTC · 25Oct 29, 10:22 UTC · 27Oct 29, 10:37 UTC · 27Oct 29, 10:52 UTC · 31Oct 29, 11:07 UTC · 32Oct 29, 11:22 UTC · 33Oct 29, 11:37 UTC · 35Oct 29, 11:52 UTC · 38Oct 29, 12:07 UTC · 38Oct 29, 12:22 UTC · 39Oct 29, 12:37 UTC · 40Oct 29, 12:52 UTC · 41Oct 29, 13:07 UTC · 42Oct 29, 13:37 UTC · 43

From the discussion

A few top-level comments from Hacker News, shortened. Read the full thread on Hacker News.

> Maintaining the sizes of subtrees Something that's not mentioned in that article is that you can maintain any monoid efficiently over balanced trees, not just the subtree size (aka you need an identity element and an associative operation). Most widely known monoids are boring, but there are more interesting…

The primary attraction of treaps (aside from fast intersection/union/diff) is that they are probably one of the easiest types of balanced trees that can be implemented manually if you need a dependency-free balanced tree. There are only two types of rotations, they are straightforward, and they are mirror images of…

A very nice problem solved using treap: https://stackoverflow.com/questions/79751600/solve-cses-moun...

Questions

Is Treap (Cartesian Tree) trending on Hacker News right now?

Not at the moment. It was last on the list on Oct 29, 13:37 UTC, after 1 day of trending.

What is the highest rank Treap (Cartesian Tree) reached?

#20 on Hacker News · Front page, on Oct 29, 13:07 UTC. Trendoday checks this list every 15 minutes.

How long has Treap (Cartesian Tree) been trending?

It was first seen on Oct 29, 2026 and has been on the list on 1 day (35 checks) since.

How much discussion did it get on Hacker News?

36 points and 5 comments; submitted by vismit2000 on Oct 26, 2026.