I have a list with small and big numbers like this:
[234, 454, 123444, 123, 234, 122234, 234, 354, 654, 123231, 234, 342, 1231231]
The "big numbers" are at least 10 times bigger than the smaller numbers. In total, there are 4 "big numbers" in the list: 123444
, 122234
, 123231
and 1231231
.
I want to find the indices of the 3rd and 4th "big numbers":
values: 234 454 123444 123 234 122234 234 354 654 123231 234 342 1231231
indices: 0 1 2 3 4 5 6 7 8 9 10 11 12
As you can see, the 3rd "big number" has the index 9, and the 4th "big number" has the index 12. Therefore the output should be 9
and 12
.