Skip to content

Commit

Permalink
Update strings/min_cost_string_conversion.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 26, 2020
1 parent 4f34549 commit 511b270
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions strings/min_cost_string_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def compute_transform_tables(

def assemble_transformation(ops: List[str], i: int, j: int) -> List[str]:
if i == 0 and j == 0:
seq = []
return seq
return []
else:
if ops[i][j][0] == "C" or ops[i][j][0] == "R":
seq = assemble_transformation(ops, i - 1, j - 1)
Expand Down

0 comments on commit 511b270

Please sign in to comment.