I\'d like some inputs on how to approach this problem
Say I have a list of lists, each list holds a varying amount of numbers:
patterns = [ [0.1, 0