Tag Archives: Combination

Combinations of a String

Problem: Write an algorithm to print all possible combinations of characters in a string. Solution: Since we need to generate combinations, we can start with a single character and then continue to add a character to combinations we have seen … Continue reading

Posted in Interview Puzzles | Tagged , , , , , | 1 Comment