arnab2001 / DSA

Collection of DSA problems and solutions
37 stars 186 forks source link

Print Longest Common Subsequence (CPP) #201

Open pranil-19 opened 2 years ago

pranil-19 commented 2 years ago

(DP Problem Using C++)

Given two strings X and Y of lengths m and n respectively, PRINT LCS of strings X and Y Example 1 Input: X = aggtab, Y = gxtxayb Output: gtab Explanation: Longest Common Subsequence would be gtab which is of length 4

// I wanna contribute this to DP folder , Please assign this to me

Saloni6111 commented 2 years ago

Hey, please assign me this issue.

Sourajyoti1234 commented 2 years ago

I have solved this dsa question. Please assign me I have solved this problem in Leetcode using CPP