What is N? This is a fixed-size problem so by definition, every
solution will be constant time.
Don

On Aug 1, 2:48 am, vikas rai <vikasloves...@gmail.com> wrote:
> There is a set of 9 students and 3 schools Every school can be alloted
> atmax 3 students .Every school and student has its coordinates .Now we have
> to allot student in such a way that the sum of distance from all the
> student to the school should be minimum.
> We have to solve this in less than O(n^3) .

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to