How to find longest uncomen sequence of the string i am getting wc in one test cases how to find it? in today dcb,,

@kailash_01
hello kailash,
can u please exaplain a bit with example,what do u mean by longest uncomen sequence

@kailash_01
if u r refereing this problem
image

then its solution is easy
if both strings are equal then print -1
otherwise print max length