Skip to content

Commit 2c3077a

Browse files
committed
feat: Remove useless comment
it duplicated by next line. so it is not necessary
1 parent cd57889 commit 2c3077a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Data-Structures/Tree/SegmentTree.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class SegmentTree {
4141
// tree's root node will contain all leaf node's sum
4242
for (let i = size - 1; i > 0; --i) {
4343
// current node's value is the sum of left child, right child
44-
// tree[i] = tree[i * 2] + tree[i * 2 + 1]
4544
tree[i] = tree[i * 2] + tree[i * 2 + 1]
4645
}
4746
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy