<Find pattern of elements between multiple lists> ...
# community-feeds
r
Find pattern of elements between multiple lists Take these lists: [545, 766, 1015] [546, 1325, 2188, 5013] [364, 374, 379, 384, 385, 386, 468, 496, 497, 547] My actual pattern is just finding numbers that are ascending by one, only one from each list (For this example, would be 545, 546 and 547). After actually finding this exists, I want the first number in the sequence to be returned to me so I can continue with my other calculations. Preferred code execution example:
>>[12, 64, 135, 23] # input lists
>>[84, 99, 65]
>>[66, 234, 7,...