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

Re:请教此题的序列若是无序的,该如何解决?即如何查询一个无序区间内最高的出现频数

Posted by xavier13540 at 2014-07-30 22:12:56 on Problem 3368
In Reply To:请教此题的序列若是无序的,该如何解决?即如何查询一个无序区间内最高的出现频数 Posted by:kamel52045386 at 2008-11-10 12:21:34
> RT
I found an O(√(q) n log n) algorithm, with the space complexity O(n).

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