I could not code it correctly, please help

answer is always 0;

@sy7176442_ca8a8991a7ddc322,
write s1[i]==s2[j] and s2[j]==s3[k] instead of s1[i]==s2[j]==s3[k]

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.