+ 2
Given an array of integers as input, find the length of longest series of same numbers in the array. Also print that number.
eg. input array {10,20,20,30,32,32,32,34} expected output Length:3 Number:32
4 Antworten
+ 3
@Java Man
thank you so much for the ans bro...
n the beginning one code you posted,
even my favorite too...
😜😜😜
+ 2
@java man
awesome coding bro
👍👍👍
+ 2
@Java_Man
hlo bro...
i was wondering... 😕😕😕
is there any other method to do this program?
+ 1
not ryt now...
but can we solve this problem without using HashMap?