#include #include #include #include #include #include #include void find(char *str); int main(){ int q; scanf("%d",&q); for(int a0 = 0; a0 < q; a0++){ char* s = (char *)malloc(512000 * sizeof(char)); scanf("%s",s); // your code goes here find(s); } return 0; } void find(char *str) { char* temp ="hackerrank"; int i,j,k=0,x=0,m=0; int l=strlen(str); for(i=0;i<10;i++) { for(j=m;j