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

×

Counts how many times most repeated element in the segment tree.

Please help me to solve this - Counts how many times most repeated element in the segment tree.

asked 04 Dec '16, 17:57

rashedcs's gravatar image

1★rashedcs
487419
accept rate: 4%


You can solve this problem using persistent segment tree. You can read more about persistent data structure here

link

answered 04 Dec '16, 19:08

ravi0213's gravatar image

4★ravi0213
2.2k41324
accept rate: 14%

(04 Dec '16, 19:10) rashedcs1★
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,188
×761

question asked: 04 Dec '16, 17:57

question was seen: 342 times

last updated: 04 Dec '16, 19:10