Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: LeetCode Problem #1 - Two Sum - Improve and/or discuss.by NetWallah (Canon) |
on Jan 24, 2022 at 04:00 UTC ( [id://11140773]=note: print w/replies, xml ) | Need Help?? |
What LanX is saying is : since you are now sorting the output of twosum as a part of your "is_deeply" compare, you no longer need to duplicate tests , and you can revert to your original set of tests that have the results in increasing-index order.
"If you had better tools, you could more effectively demonstrate your total incompetence."
In Section
Seekers of Perl Wisdom
|
|