marti
Questions (1)
Comments (1)
Reputation -5
- 21
0of 0 votes
AnswersGiven three strings , find how many ways can the third string be generated by combining susequences of first and second strings in any order.
- marti on June 22, 2012 in India Edit | Report Duplicate | Flag
combining eg:“abc” and “de” can yield adebc,abdce,abcde etc...
Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
no, its not the same,Eg: for
- marti on June 22, 2012 Edit | Flag View Replystirng1: abc
string 2:abc
string 3:abc
answer is 8