You are not logged in. Please login at www.codechef.com 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

0★dgupta
175
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

link

answered 30 Aug '17, 01:17

phantomhive's gravatar image

4★phantomhive
944
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!!

link

answered 30 Aug '17, 01:25

a_d_i's gravatar image

2★a_d_i
1746
accept rate: 23%

toggle preview
Preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×1,755

question asked: 30 Aug '17, 01:02

question was seen: 251 times

last updated: 30 Aug '17, 01:30