All Questions
2 questions
5votes
1answer
351views
Minimum amount of spaces inserted in a given string, such that it gets composed only of elements from a given list
The Challenge Given a big string and a list of smaller strings, find the minimum amount of spaces that must be inserted between characters of the string in such way that it becomes composed only of ...
8votes
2answers
17kviews
List all possible permutations from a python dictionary of lists
The following code takes a dictionary of lists (indexed by keyword) and converts it into a list of list of dictionaries that contains all possible permutations of those lists. However, my solution ...