> Concerning performance: I am afraid that the solutions Ken came up with were > not very optimized for large sequences. They have a logarithmic complexity. > Let me provide a solution that has a linear complexity:
Shouldn't that be exponential... logarithmic is better than linear isn't it? :) cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
