python count duplicates that are together in a circular list

前端 未结 0 1709
野的像风
野的像风 2021-01-21 07:50

I need to count the number of duplicates that are together, keeping in mind that the element in the start of the list is next to the element in the end of list, like a circle. t

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