in reply to Re^2: Intersecting Two Strings
in thread Intersecting Two Strings

You forgot one corner case:

I did, didn't I :(

I apologise for missing that you'd seen the same anomaly as I, amongst all the LCS posts.

but your code is nicer I must admit ;)

Actually, I think yours perfectly fine. Missing a couple of steps and tests, but fine. More importantly it works.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."