a
b
LUS
-1
function findLUSlength(a: string, b: string): number { if(a === b) return -1 if(a.length > b.length) return a.length return b.length };