---
title: "Discussion on \"The lazy algorithm vs BIT\" | Hashnode"
description: "Discussion on \"The lazy algorithm vs BIT\". An alternative way to solve competitive contest problems which otherwise require binary indexed trees or segment trees."
url: "https://hashnode.com/posts/the-lazy-algorithm-vs-bit/63190d3d5abe8613b3d2f559"
---

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

Discussion

# [The lazy algorithm vs BIT](https://alice-bob.hashnode.dev/the-lazy-algorithm-vs-bit?utm_source=hashnode&utm_medium=feed)

An alternative way to solve competitive contest problems which otherwise require binary indexed trees or segment trees.

Sep 7, 2022 · 5 min read · alice-bob.hashnode.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#coding](https://hashnode.com/tag/coding)
-   [#binary-indexed-tree](https://hashnode.com/tag/binary-indexed-tree)
-   [#segment-tree](https://hashnode.com/tag/segment-tree)

## Written by

[Mayank Raj](https://hashnode.com/@dsculptor)

@dsculptor · Amsterdam

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

Hardcode tech guy who is into hacking on the side.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
