Given two sequences, find the length of their longest subsequence present in both of them using a recursive approach.
{
"s1": "AGGTAB",
"s2": "GXTXAYB"
}4{
"s1": "ABCDGH",
"s2": "AEDFHR"
}3{
"s1": "ABC",
"s2": "AC"
}2Sign in to Run Code and Submit