Problem: 313 equals 151

Code: 313+equals+151/tails_1668386963

Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00

Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)


| (filter):[[chr]] 
    ;@ (= allLines):[[chr]] 
    ~ (not):null 
    >> (tail):[[[int]]] <--arg( A:[chr] ) 
        =~ (group by (also sorts)):[[[int]]] 
            . (map):[[int]] 
                % (split (remove empties)):[[chr]] 
                    $ (= A):[chr] 
                    ~ (auto = words):auto 
                . (map):[int] <--arg( B:[chr] ) 
                    $ (= B):[chr] 
                    ? (index):int <--arg( C:chr ) 
                        @ (= B):[chr] 
                        (implicit arg = C):chr 
            (implicit arg = D):[int] <--arg( D:[int] ) 

Back to the index