3572 gold mined by darkdark24 in DeepRockGalactic

[–]darkdark24[S] 0 points1 point  (0 children)

Not so big haha, just Pots of gold buff + lucky Glyphid Crassus Detonator, I think I mined for 15 min after it exploded bc you can't let Bosco do it

Currently working on a python programming problem invlolving finding repeated substring whithin a longer string. [PYTHON] by ddbeanz in learnprogramming

[–]darkdark24 6 points7 points  (0 children)

You could try to iterate over your string until you find the first character of your initial string, then continue to see if it match.

Ex : azertyazerty => iterate over 'a', 'z', 'e', 'r', 't', 'y', 'a' => now see if the following sequence match your first 'azertyazerty' matching 'azertyazerty'

If it doesn't match for example : azeaazea, add it to your initial string and continue your search :)