Keep It Simple, Stupid | |
PerlMonks |
Re^2: Random Treesby Anonymous Monk |
on Sep 30, 2017 at 18:20 UTC ( [id://1200431]=note: print w/replies, xml ) | Need Help?? |
Yeah, it doesn't work for $n=1, because it's not possible for rank_to_prufer to return a list of length $n-2==-1. I suppose it should just die in that case. Is this a big problem for you? Also, this thread is 14 years old, and Foxtrot hasn't been here in almost 11. Maybe threads should be auto-locked at some point?
In Section
Cool Uses for Perl
|
|