Skip to content

Commit d6750fd

Browse files
authored
Merge pull request #1500 from ivan1016017/december29
adding algo
2 parents c4c0153 + e0ff3e6 commit d6750fd

17 files changed

Lines changed: 3 additions & 307 deletions

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_2.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_3.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_4.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_5.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_6.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_7.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_8.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/two_sum_round_9.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/my_project/interviews/amazon_high_frequency_23/common_algos/valid_palindrome_round_1.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
from typing import List, Union, Collection, Mapping, Optional
23
from abc import ABC, abstractmethod
34
import re
@@ -15,8 +16,8 @@ def isPalindrome(self, s: str) -> bool:
1516
len_s = len(s)
1617

1718
for i in range(len_s//2):
18-
19+
1920
if s[i] != s[len_s - 1 - i]:
2021
return False
2122

22-
return True
23+
return True

src/my_project/interviews/amazon_high_frequency_23/common_algos/valid_palindrome_round_2.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)