MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

dynamic_programming/edit_distance.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 """
20
21 def __init__(self):
22 self.word1 = ""
23 self.word2 = ""
24 self.dp = []
25
26 def __min_dist_top_down_dp(self, m: int, n: int) -> int:
27 if m == -1:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected