what is 255 in solution code " int minByte = 255" to find the min byte and 256 in solution code int[] byteCountArray = new int[256] to find the most frequent byte?
Guarantees that, no matter what, you will have a smaller integer available. Otherwise you could run into a situation where your minByte variable isn't smaller than anything and you get a bad result.
GO TO FULL VERSION