You are viewing a single comment's thread. Return to all comments →
var k = arr.zipWithIndex.filter(_._2 %2==1).map(x => x._1)/
Filter Positions in a List
You are viewing a single comment's thread. Return to all comments →
var k = arr.zipWithIndex.filter(_._2 %2==1).map(x => x._1)/