Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Quiz

Reply
 
 
Jubri Siji
Guest
Posts: n/a
 
      03-11-2005
Please does anyone know where i can get the answer to this Question

In a three-dimensional structure, there are million points, how to
design an algorithm to find out nearest 100 points towards the origin.


 
Reply With Quote
 
 
 
 
rajkumar@hotmail.com
Guest
Posts: n/a
 
      03-13-2005
What exactly do you mean by three-dimensional structure ?

If it is just a million points sort the point by their distance from
the origin.. The first 100 should be the points that you need

Raj

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[QUIZ] Gathering Ruby Quiz 2 Data (#189) Daniel Moore Ruby 10 01-31-2009 08:36 PM
[QUIZ] Newbie doubts about the quiz Marcelo Alvim Ruby 15 08-16-2006 02:08 PM
[QUIZ] 1-800-THE-QUIZ (#20) Ruby Quiz Ruby 15 02-24-2005 06:05 AM
[SOLUTION] Ruby Quiz #15 Animal Quiz David Tran Ruby 9 01-21-2005 02:11 AM
[QUIZ] Animal Quiz (#15) Ruby Quiz Ruby 11 01-18-2005 02:42 PM



Advertisments