We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Strings
- Common Child
- Discussions
Common Child
Common Child
Sort by
recency
|
665 Discussions
|
Please Login in order to post a comment
C language solution using dynamic programming (recursion with memory)
` def commonChild(s1, s2): # Write your code here matrix = [[0 for j in range(len(s2))] for i in range(len(s1))]
My Solution in Python 3
https://www.geeksforgeeks.org/longest-common-subsequence-dp-4/
Easiest ||C++||LCS
int commonChild(string s1, string s2) {
}