InterviewBit Problems   Maximum Frequency stack : Solved