the code works fine on other compilers but shows segmentation fault here.
Max frequency count
hi @armaanbhardwaj23 the code is working fine. Make sure you are giving input in the IDE before you run the program
1 Like