squal
2
@anshkanna:
ur mistake was u were printing the address of the values: printf("%d"),&f[p]) no need of & while
printing;
link to your working solution
You can reduce your execution time by changing ur code slightly,
ur code with little editing
Wishes