chief_27's blog

By chief_27, history, 15 months ago, In English

Does it ?

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

| Write comment?
»
15 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

»
15 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

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

Hii

»
15 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.

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

Maybe segment fault is segment fruit

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

I guess they have oRANGEs

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

the lazy ones don't

»
15 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

»
15 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.

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

sure thing they do, some tasty juicy sweet fruits

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

Mango Tree -> Mangoes Segment Tree -> Segmentoes

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

Sementation fault error is the juciest fruit from Segment Tree.

»
15 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.

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

My segment tree is too lazy to have fruits.

»
14 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

  • »
    »
    14 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...

»
14 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.

»
17 hours ago, # |
  Vote: I like it -12 Vote: I do not like it

Yes. We call them Segmentation Faults which are usually harvested when you declare a tree too small to fit the problem constraints.

»
13 hours ago, # |
  Vote: I like it +1 Vote: I do not like it

Yes, They have :- Ability to solve tough problems (Range Queries) and some Positive Delta..

»
12 hours ago, # |
  Vote: I like it +1 Vote: I do not like it

As a fruit, i can confirm that there are fruits.