Choose data structure to implement insert, get median

Go down

Choose data structure to implement insert, get median Empty Choose data structure to implement insert, get median

Post  Admin on Wed Aug 24, 2011 3:51 pm

Half elements above median to put in min heap,
Half elements below median to put in max heap.

Admin
Admin

Posts : 131
Join date : 2011-08-16

View user profile http://codefornongeek.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum