Skip to content

Commit 78e8593

Browse files
authored
Change type hints in infix_to_prefix_conversion.py
1 parent 72d19e8 commit 78e8593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: data_structures/stacks/infix_to_prefix_conversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"""
1616

1717

18-
def infix_2_postfix(infix: str) -> str:
18+
def infix_2_postfix(infix: list[str]) -> str:
1919
stack = []
2020
post_fix = []
2121
priority = {

0 commit comments

Comments
 (0)