getPositionsWithValue

open fun getPositionsWithValue(value: E): List<Pair<Int, Int>>