How do I get the shortest repitition of something in an array?

前端 未结 0 1109
既然无缘
既然无缘 2020-11-28 01:12

Let\'s say you have a list which only has two types of values and goes something like [\'t\',\'r\',\'r\',\'r\',\'t\',\'t\',\'r\',\'r\',\'t\'] and you want to find the length

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