Created
January 7, 2018 19:14
-
-
Save jianminchen/d14581e43d4f64869006faa0736bf640 to your computer and use it in GitHub Desktop.
Smallest substring of all characters -
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyzzz | |
| | |
| | |
|----------------------------------------------------------| | |
| | |
|---------------------------------------------------------| | |
x 100 | |
repeat this substring | |
1+2+...+ 100 = n*(n+1) / 2, n = 1000, 1000,000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment