#include #include #include #include #include #include #include int main(){ int n; scanf("%d",&n); int *types = malloc(sizeof(int) * n); for(int types_i = 0; types_i < n; types_i++){ scanf("%d",&types[types_i]); } // your code goes here int max=0; int i; for(i=0;imax) max=types[i]; } int *freq = malloc(sizeof(int)*max); //initialiazation of freq elements with 0 for(i=0;imax) fmax=freq[i]; } printf("\nThe maximum no. of birds is of type:-%d",fmax); return 0; }