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/
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/