Read this entire thread. Since that is obviously the topic. If you want examples of algorithms and their analysis, there are plenty on the internet. Google.
I'm assuming you know what "linear" means. There really isn't a way to answer your question without just giving you the answer, so that's where I'll leave it.
Last edited by BestJewSinceJC; Oct 21st, 2009 at 9:36 pm.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.