You are not logged in. Please login at to post your questions!


Segment tree

I can understand how segment tree operates on arrays but I find difficulty in understanding how segment tree answers binary tree queries given are the operations on the tree?Any beginner problems would be appreciated.

asked 30 Aug '17, 01:02

dgupta's gravatar image

accept rate: 0%

edited 30 Aug '17, 01:22

I am solving this at the moment it a segment tree problem !!
hope u find it intresting


answered 30 Aug '17, 01:17

phantomhive's gravatar image

accept rate: 0%

Not sure how can you solve it using segment tree.. I was thinking kind of Offline+Balanced BST solution for it..

(30 Aug '17, 01:30) kauts_kanu5★

Here are 141 problems on segment tree with difficulty varying from 1 to 10 (1 being the easiest and 10 being the most difficult).

Hope this helps!!


answered 30 Aug '17, 01:25

a_d_i's gravatar image

accept rate: 23%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 30 Aug '17, 01:02

question was seen: 251 times

last updated: 30 Aug '17, 01:30