MCPcopy Create free account
hub / github.com/HuberTRoy/leetCode / makeCombinations

Method makeCombinations

String/LongestPalindromicSubstrings.py:81–83  ·  view source on GitHub ↗
(self, split_list)

Source from the content-addressed store, hash-verified

79
80
81 def makeCombinations(self, split_list):
82
83 return itertools.combinations(split_list, 2)
84
85 # wrong
86 # def longestPalindrome(self, s):

Callers 1

longestPalindromeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected