in reply to perl array matrix
but you'll have to explain why "2,7,12,16" and "2,4,7,12" should return true and why "1,6,8,12" and "1,5,14,15" should return false. Well, "1,5,14,15" being false, I can understand a plausible reason, because 15 is nowhere in the data structure, but why "1,6,8,12" should be false?( [1, 2, 3, 4,], [5, 6, 7, 8,], [9, 10, 11, 12,], [13, 14, 3, 16,], [2, 18, 19, 20,] )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl array matrix
by Anonymous Monk on Apr 12, 2015 at 11:59 UTC | |
by Corion (Patriarch) on Apr 12, 2015 at 12:01 UTC | |
by Anonymous Monk on Apr 12, 2015 at 12:09 UTC | |
by Corion (Patriarch) on Apr 12, 2015 at 12:21 UTC | |
by perlhelp (Initiate) on Apr 12, 2015 at 13:17 UTC | |
|