in reply to Reversing a singly linked list
$curr = $head; my $tail; while ($curr) { $tail = { next => $tail, data => $curr->{data}, }; $curr = $curr->{next}; } print Dumper $tail;
($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^2: Reversing a singly linked list
by Anonymous Monk on Feb 15, 2016 at 16:20 UTC | |
by LanX (Saint) on Feb 15, 2016 at 16:46 UTC | |
|
Re^2: Reversing a singly linked list
by punitpawar (Sexton) on Feb 20, 2016 at 13:14 UTC | |
by choroba (Cardinal) on Feb 20, 2016 at 17:51 UTC | |
by Anonymous Monk on Feb 20, 2016 at 20:06 UTC |