import unittest

def longest_repeating_subsequence(seq):
...

Python Longest Repeating Subsequence

by Ben Atkin, September 29, 2011 20:39, 1 refactoring, tagged with lists, algorithm, sequence

Can you make it faster whil...

70b0265140eaff6e312eb3efcff3c195 Talk
def merge_words(words_1, words_2, words_3):
    """Take 2 to 3 lists of phrases and return 1 list of all combinations
    of those lists"""
...

Python Find All Combinations of 2 ...

by https://www.google.com/accounts/o8/id?id=AItOawnF67iZ7jkF06oL0iuNySBalihADlPMJ-8, March 15, 2011 01:15, 6 refactorings, tagged with lists, combinations

The code should accept thre...

55502f40dc8b7c769880b10874abc9d0 Talk
def zip_plus(source_list, additional_list):
    """
        Like zip but does plus operation where zip makes a tuple
...

Python variations on zip

by https://www.google.com/accounts/o8/id?id=AItOawnsm--vLmQJ3pTQIjTkYd0hwwcCxZEprhY, December 15, 2010 01:52, 1 refactoring, tagged with python, lists

2 functions i need to build...

1afbba5d8a998738ce0d272860f8884e Talk
def perm(ni):
    result = []
    
...

Python Permutation of values

by Auron, October 07, 2008 12:18, 5 refactorings, tagged with lists, recursion

Boys and girls, it's time t...

C2953d47b6de83f3217b48c3584fab1c Talk