How to find the indexes of the biggest number in a given List with duplicates using Java

前端 未结 0 1237
时光取名叫无心
时光取名叫无心 2020-11-27 03:50

I have a list with values [1,2,2,8,7,8]. I would like to find the indexes of the biggest number. Here the biggest number is 8. 8 is repeated twice. So the answer should be [

相关标签:
回答
  • 消灭零回复
提交回复
热议问题