|
-
May 10th, 2010, 10:18 AM
#3
Re: Important - demonstration
 Originally Posted by Zachm
Your phrasing and formulas are not very clear.
I'm not sure what the linear algorithm should do. The formula is strange.
Please describe it also in words or attach a bitmap of the exact equations.
Regards,
Zachm
here it is:
http://img98.imageshack.us/img98/6299/algorythm.jpg
sorry for bad posting before. The Algorythm i created finds the average of the numbers, and then finds the element that is the nearest to the average. the complexity is O(6n + 2). but i don't know how to demonstrate that my algortyhm works. thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|