Problemunvalidated
count how many subsequences of s are greater than t — Given two strings s of length m and another string t of length n. Tension: I solved it using a recursive approach but it is taking O(2^n * n) time complexity.
e8a869a2-7e92-45b2-bde4-c21941c35351
count how many subsequences of s are greater than t — Given two strings s of length m and another string t of length n. Tension: I solved it using a recursive approach but it is taking O(2^n * n) time complexity.