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


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

Yes, this seems to pass all my tests (after I made into the proper class). Congratz!

And you used the same algorithm as I did (with almost the same variable names).

And it's not Sunday yet!

($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,

Replies are listed 'Best First'.
Re^3: Tree Structure Challenge
by LanX (Cardinal) on Nov 30, 2015 at 23:28 UTC
    Great so if I don't need to produce an efficient version anymore, I can enjoy Sunday! =)

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