Histogram problem test cases not passes

my code is running fine on IDE but not passing any test case . can you please tell where my code is lagging.

@rahul.aggarwal000005 just use long long int everywhere instead of int
dont forget to hit like and mark resolved if cleared :smiley:

Still not passing any test case

@rahul.aggarwal000005 one int remaining int histogram function , corrected