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
|
663 Discussions
|
Please Login in order to post a comment
My Solution in Python 3
https://www.geeksforgeeks.org/longest-common-subsequence-dp-4/
Easiest ||C++||LCS
int commonChild(string s1, string s2) {
}
C++ with space optimization (more at https://github.com/IhorVodko/Hackerrank_solutions , feel free to give a star :) )
usefull article https://en.wikipedia.org/wiki/Longest_common_subsequence