[Solved] Write a program that takes an array/arraylist of integer and finds longest sub array/arraylist whose entries are equal [closed]



Write a program that takes an array/arraylist of integer and finds longest sub array/arraylist whose entries are equal [closed]

solved Write a program that takes an array/arraylist of integer and finds longest sub array/arraylist whose entries are equal [closed]