There's the easy way...

Best seen on a larger than landscape phone Someone blogged about a particular problem: From: https://theweeklychallenge.org/blog/perl-weekly-challenge-294/#TASK1 Given an unsorted array of integers, `ints` Write a script to return the length of the longest consecutive elements sequence. Return -1 if none found. *The algorithm must run in O(n) time.* The solution they blogged used a sort which…