I have a function in java which may have bug and I can not find it [closed]

1 1 1 1 5 5 5 5 5 this is a case where your code may fail. Check and update the max occurance variable outside the loop too. Above case give enough justice to my point, i hope.

Browse More Popular Posts

Leave a Comment