ChrisVilches / Algorithms

Solutions for competitive programming problems in various online judges such as Kattis, SPOJ, URI Online Judge, etc.
5 stars 0 forks source link

Remake "frequent values" with a simpler segment tree #7

Closed ChrisVilches closed 2 years ago

ChrisVilches commented 2 years ago

The tree I created is way too hard.

Maybe a tree where each node has a pair that contains the number and its frequency.

ChrisVilches commented 2 years ago

maybe later