---
title: "Discussion on \"Segment Tree with Lazy Propagation\" | Hashnode"
description: "Discussion on \"Segment Tree with Lazy Propagation\". A basic segment tree can efficiently make a range query over the input array and update a single value in the array. If you don't know how to implement a basic segment tree, this article will give you a step-by-step guide on implementing a basic segm..."
url: "https://hashnode.com/posts/segment-tree-with-lazy-propagation/6408a8cf8be94ee7697900b3"
---

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

Discussion

# [Segment Tree with Lazy Propagation](https://wengao.hashnode.dev/segment-tree-with-lazy-propagation?utm_source=hashnode&utm_medium=feed)

A basic segment tree can efficiently make a range query over the input array and update a single value in the array. If you don't know how to implement a basic segment tree, this article will give you a step-by-step guide on implementing a basic segm...

Mar 8, 2023 · 6 min read · wengao.hashnode.dev  
Updated Mar 12, 2023  
Read the article

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

## Written by

[Wengao Ye](https://hashnode.com/@elleryqueenhomels)

@elleryqueenhomels

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

Software Engineer

## Responses 3

Markdown supported · ⌘↵ to post

[Alex Stevens](https://hashnode.com/@alex24pavlov1999)

[Jul 17, 2023](https://hashnode.com/posts/segment-tree-with-lazy-propagation/6408a8cf8be94ee7697900b3/comment/64b4d8530470cd817f0e1e16)

Nice article

[Lisa Max](https://hashnode.com/@lisa7410)

[Jul 17, 2023](https://hashnode.com/posts/segment-tree-with-lazy-propagation/6408a8cf8be94ee7697900b3/comment/64b4d7f3d139b7a4d9851c25)

Nice

[Shahadot Samim](https://hashnode.com/@samim519)

[Jul 17, 2023](https://hashnode.com/posts/segment-tree-with-lazy-propagation/6408a8cf8be94ee7697900b3/comment/64b4d3c00470cd817f0e1d26)

Nice
