Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

binary search tree is another option

Posted by frkstyc at 2006-08-27 18:31:35 on Problem 2985
In Reply To:Re:a segment tree will provide a O(logn) running time per operation Posted by:8031987 at 2006-08-27 18:29:08
> Only segment tree must be used?
> Some time ago I think that segment tree and Fenwick's tree provide search k-th element in O(log^2 n)... but for O(log n) I don't know how to do it...

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator