Problem Solving Question based on Array / List

后端 未结 0 1533
梦谈多话
梦谈多话 2021-01-02 00:30

How many elements occurs N times continuously from an array ?

Example:

I/p:
         a = [1,2,4,5,6,6,6,6,6,6,6,8,9,0,1]
         N = 6
O/         


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