http://qs321.pair.com?node_id=1148961


in reply to Re^2: Tree Structure Challenge
in thread Tree Structure Challenge

Yes = you want minimal number of operations?

Do the diff arrays need to be ordered?

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^4: Tree Structure Challenge
by choroba (Cardinal) on Nov 30, 2015 at 21:03 UTC
    Yes = you don't miss anything. No ordering needed.
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,