Talk:Algorithms/Find maximum

Isn't method orange ambiguous? What if the array is negatives number and 0, then the maximum really is 0? Returning 0 for an array zero length would cause confusion with the first case IMO. Am I missing something here? -chance.yohman@gmail.com

This doesn't look like 6 algorigthms to me, it looks like the same algorithm implemented in 6 increasingly obfuscated ways. I'm really not seeing what the point in having more than one implementation of an algorithm is when the task in question is best-case $$O(n)$$, worst-case $$O(n)$$ and has a really trivial $$O(n)$$ implementation that, lacking machine-specific micro-optimisations, can't be improved upon. --Fishpi (talk) 14:46, 30 November 2010 (UTC)

JavaScript and JSript
Do we need to have both codes with JavaScript and JScript? All codes here in these two languages are the same! --Albuseer (talk) 14:59, 30 July 2009 (UTC)