#define ASCII_SIZE 256
from this what we get ? like is it we get the array which contain all the character and then we increment it
I wathced the soluion, is this Hashing?
hello @abhisheksingh80511
yeah this is hashing.
this is macro , whenever u will write ASCII_SIZE compiler will replace it with 256.
in the solution , we are declaring a 256 size array , then we are iterating through each character of string to calculate its frequence.
and then we are picking that charcter which has highest frequency