---
title: "Discussion on \"Bottom-up Iterative Segment Tree\" | Hashnode"
description: "Discussion on \"Bottom-up Iterative Segment Tree\". ধরা যাক, আমাদের একটি array আছে:\na = [5, 2, 7, 3, 6, 1, 4, 8]\n\nআমাদের দুই ধরনের operation করতে হবে:\n\nএকটি position-এর value update করা।\n\nকোনো range-এর sum বের করা।\n\n\nউদাহরণ:\nsum of a[2...6]\n\nসরাসরি loo"
url: "https://hashnode.com/posts/bottom-up-iterative-segment-tree/6a3827ef79c094ab4016132c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Bottom-up Iterative Segment Tree](https://worldofprogramming.hashnode.dev/bottom-up-iterative-segment-tree?utm_source=hashnode&utm_medium=feed)

ধরা যাক, আমাদের একটি array আছে: a = \[5, 2, 7, 3, 6, 1, 4, 8\] আমাদের দুই ধরনের operation করতে হবে: একটি position-এর value update করা। কোনো range-এর sum বের করা। উদাহরণ: sum of a\[2...6\] সরাসরি loo

Jun 21 · 12 min read · worldofprogramming.hashnode.dev  
Read the article

-   [#segment-tree](https://hashnode.com/tag/segment-tree)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Programming Blogs](https://hashnode.com/@saberazinia)

@saberazinia

  
[View profile](https://hashnode.com/@saberazinia)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
