Skip to content

textureanalysis

bradendubois edited this page Jun 9, 2021 · 7 revisions
    # textureanalysis
    
    ## Solution
    
    For this, eliminate easy cases by checking; if there is no "." anywhere in the string, it's even. Otherwise, take the largest prefix of the string such that it consists of "*" and some number of consecutive "."s. Then, jumping ahead in the string by the length of this constructed string; these overlapping substrings must match. Repeat this until the end of the string.        
Clone this wiki locally