Anonymous - 2007-11-01 19:25:22
Eh, maybe he’s not so bad. His optimized solution works out to be the same as using a linear search through an unsorted list instead of a binary search through a sorted list, and it runs fast enough.
formatting is with Textile syntax. Comments are not displayed until they are approved by a moderator. Moderators will not approve unless the comment contributes value to the discussion.
Anonymous - 2007-11-01 19:25:22
Eh, maybe he’s not so bad. His optimized solution works out to be the same as using a linear search through an unsorted list instead of a binary search through a sorted list, and it runs fast enough.