How to get vector containing indices of each element in the level attribute of the vector k? That is how to get vector (1, 2, 1) for the k ?How to get vector containing indices of each el
How to get vector containing indices of each element in the level attribute of the vector k? That is how to get vector (1, 2, 1) for the k ?How to get vector containing indices of each el