hergin
2
Interesting question. I was always doing it as you explained as well. But I decided take this as a small challenge. I knew it was possible with the limited number of list operators Bubble has but I didn’t know how. I could finally find it after some half-hour effort
It doesn’t look bad but efficiency should be checked I guess.
Here is how it is running in a single expression:

Here is the expression:
And here is how I came up with it with some test cases 
And here is the editor if you want to play with it: Tests for Forum 14 | Bubble Editor
1 Like