0
We go up together, we go down together
Given a list of positive digits, return that list where consecutive elements are grouped together. For example:
[1, 2, 3, 5, 6, 5, 4, 4, 1] -> [[1, 2, 3], [5, 6, 5, 4], [4], [1]]
Essentially, all adjacent elements whose absolute difference is 1 should be gr...