Zscaler Interview Question

The First coding is LC 300, the second coding is letting you calculate the frequency of maximum value, and the third coding is LC 1611.