Report question

Question: Efficient iteration with index in Scala