rustem.memmedli.'s blog

By rustem.memmedli., history, 4 months ago, In English

Hello Codeforces!

I’ve recently decided to practice more Segment Tree problems. However, since Codeforces doesn't have a specific tag exactly for Segment Trees (they usually fall under "data structures"), it’s been a bit tough to filter for them specifically in the problemset.

Could you recommend some problems or specific problemsets that focus on Segment Trees? Considering my current rating, it would be perfect if the ratings were around 1500–1900. I'm looking for anything from standard to more "out of the box" implementations. If there are any classic "must-solve" problems in this range, please let me know!

Thanks to anyone who tries to help, and happy coding!

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
4 months ago, hide # |
Rev. 2  
Vote: I like it +6 Vote: I do not like it

try this

It's a Russian site, but translator exists for a reason.

Segment-tree problems are in "ДО-1", "ДО-2" sections(bottom of the page).

»
4 months ago, hide # |
 
Vote: I like it +2 Vote: I do not like it

Check this out-one of the best curated lists on the site.

»
4 months ago, hide # |
Rev. 3  
Vote: I like it +4 Vote: I do not like it

Ant Colony [2100]

XOR on Segment [2000]

Enemy is Weak [1900]

Petya and Array [1800]

Sereja and Brackets [2000]

Distinct Characters Queries [1600]

BTW some of them might have co-ordinate compression hidden(or more like problem cant be solved without it) so do learn that as well since it extends to more applications.This does include Lazy propogation as well (mostly for higher rated problems)

»
4 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
  1. 914D - Bash and a Tough Math Puzzle [1900]
  2. 1741F - Multi-Colored Segments [2000]
  3. 1114F - Please, another Queries on Array? [2400]
  4. 61E - Enemy is weak [1900]

Some of these problems have a rating of >1900, but in my opinion their actual rating is lower, since the rounds from which these problems are taken were held quite a long time ago.

»
4 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it