CPP icon indicating copy to clipboard operation
CPP copied to clipboard

Zipped String

Open TiwariPreeti opened this issue 4 years ago • 3 comments

Given lowercase alphabet strings a, b, and c return whether there's any way of obtaining c by merging characters in order from a and b.

Constraints:

0 ≤ n ≤ 1,000 where n is the length of a 0 ≤ m ≤ 1,000 where m is the length of b 0 ≤ k ≤ 1,000 where k is the length of c

Example 1 Input:- a = "abc" b = "def" c = "abdefc" Output:- true

https://binarysearch.com/problems/Zipped-String

Tags for the question(eg - Array, Basic, Stack, etc.) - Dynamic Programming String

TiwariPreeti avatar Oct 04 '21 05:10 TiwariPreeti

Please assign me this @akshitagupta15june

TiwariPreeti avatar Oct 04 '21 05:10 TiwariPreeti

Please add label hacktoberfest-accepted

TiwariPreeti avatar Oct 04 '21 06:10 TiwariPreeti

Hey @TiwariPreeti @akshitagupta15june Kindly assign this problem to me.

anish853 avatar Oct 17 '22 04:10 anish853