Twitter phone interview SWE
Anonymous User
903

Find all unique combinations of an input string of size m.

inputStr = "ABCDE"
size = N

When size=2, output is =
[AA,AB, AC, AD, AE, BB, BA, ....]

What is the possible solution to this question?

Comments (7)