You're right of course. Too early in the morning and mixing up n + n-1 + n-2 ... with n * n-1 * n-2 ....
It should be O((N-1)*N/2). Corrected. Thanks.
In reply to Re^5: numeric representation of string
by BrowserUk
in thread numeric representation of string
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |