formidablechief27's blog

By formidablechief27, history, 7 months ago, In English

Does it ?

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

»
7 months ago, # |
  Vote: I like it +71 Vote: I do not like it

Apple tree has apples, I wonder what will segment tree have. Must be papayas for sure

»
7 months ago, # |
Rev. 2   Vote: I like it +9 Vote: I do not like it

Segment trees don't have fruits, but they do have a great sense of recursion. They're more likely to produce a recursive salad than a fruit basket

»
7 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Hii

»
7 months ago, # |
  Vote: I like it +9 Vote: I do not like it

I think it has the fruits, and these magical fruits grant the power to tackle badass range query problems.

»
7 months ago, # |
  Vote: I like it +49 Vote: I do not like it

Maybe segment fault is segment fruit

»
7 months ago, # |
  Vote: I like it +183 Vote: I do not like it

I guess they have oRANGEs

»
7 months ago, # |
  Vote: I like it +114 Vote: I do not like it

the lazy ones don't

»
7 months ago, # |
  Vote: I like it +12 Vote: I do not like it

No bro you were scammed by big food, it actually has vegetables on it, more precisely strawberries

»
7 months ago, # |
  Vote: I like it +62 Vote: I do not like it

Recursively speaking, a segment tree is either a fruit on its own, or has two fruits that are segment trees. So yes, segment trees have fruits.

»
7 months ago, # |
  Vote: I like it +3 Vote: I do not like it

sure thing they do, some tasty juicy sweet fruits

»
7 months ago, # |
  Vote: I like it +8 Vote: I do not like it

Mango Tree -> Mangoes Segment Tree -> Segmentoes

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

Hii

»
7 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Sementation fault error is the juciest fruit from Segment Tree.

»
7 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Yes, and we call those fruits "elements." And when we consume one, it becomes zero.

»
7 months ago, # |
  Vote: I like it +3 Vote: I do not like it

My segment tree is too lazy to have fruits.

»
7 months ago, # |
  Vote: I like it +15 Vote: I do not like it

Segment Trees only bear fruits for the persistent and dynamic. They don't bear fruits for lazy people

  • »
    »
    7 months ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    Nopes, the lazy ones are more powerful, a valuable lesson we should all adopt in life...

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

Segment trees are like the fruit of the knowledge of range problems: they're delicious and powerful, but if you eat too many of them, you'll get a time complexity headache.