Skip to content

Commit 2bc006b

Browse files
authored
Updated tasks 104-215
1 parent 6c62620 commit 2bc006b

File tree

27 files changed

+136
-136
lines changed

27 files changed

+136
-136
lines changed

README.md

Lines changed: 103 additions & 103 deletions
Large diffs are not rendered by default.

src/main/python/g0101_0200/s0104_maximum_depth_of_binary_tree/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# #Tree #Binary_Tree #LeetCode_75_Binary_Tree/DFS #Data_Structure_I_Day_11_Tree
33
# #Programming_Skills_I_Day_10_Linked_List_and_Tree #Udemy_Tree_Stack_Queue
44
# #Top_Interview_150_Binary_Tree_General #Big_O_Time_O(N)_Space_O(H)
5-
# #2024_06_09_Time_35_ms_(85.47%)_Space_17.6_MB_(77.94%)
5+
# #2025_07_25_Time_0_ms_(100.00%)_Space_19.23_MB_(7.43%)
66

77
# Definition for a binary tree node.
88
# class TreeNode:

src/main/python/g0101_0200/s0105_construct_binary_tree_from_preorder_and_inorder_traversal/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Medium #Top_100_Liked_Questions #Top_Interview_Questions #Array #Hash_Table #Tree #Binary_Tree
22
# #Divide_and_Conquer #Data_Structure_II_Day_15_Tree #Top_Interview_150_Binary_Tree_General
3-
# #Big_O_Time_O(N)_Space_O(N) #2024_06_09_Time_45_ms_(96.51%)_Space_18.1_MB_(90.27%)
3+
# #Big_O_Time_O(N)_Space_O(N) #2025_07_25_Time_4_ms_(73.84%)_Space_19.14_MB_(84.59%)
44

55
# Definition for a binary tree node.
66
# class TreeNode:

src/main/python/g0101_0200/s0114_flatten_binary_tree_to_linked_list/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Medium #Top_100_Liked_Questions #Depth_First_Search #Tree #Binary_Tree #Stack #Linked_List
22
# #Udemy_Linked_List #Top_Interview_150_Binary_Tree_General #Big_O_Time_O(N)_Space_O(N)
3-
# #2024_06_09_Time_24_ms_(99.54%)_Space_16.7_MB_(86.32%)
3+
# #2025_07_25_Time_0_ms_(100.00%)_Space_17.94_MB_(73.46%)
44

55
# Definition for a binary tree node.
66
# class TreeNode:

src/main/python/g0101_0200/s0121_best_time_to_buy_and_sell_stock/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# #Easy #Top_100_Liked_Questions #Top_Interview_Questions #Array #Dynamic_Programming
22
# #Data_Structure_I_Day_3_Array #Dynamic_Programming_I_Day_7 #Level_1_Day_5_Greedy #Udemy_Arrays
33
# #Top_Interview_150_Array/String #Big_O_Time_O(N)_Space_O(1)
4-
# #2024_06_09_Time_666_ms_(98.09%)_Space_27.5_MB_(28.45%)
4+
# #2025_07_25_Time_17_ms_(98.03%)_Space_26.89_MB_(77.51%)
55

66
class Solution:
77
def maxProfit(self, prices: List[int]) -> int:

src/main/python/g0101_0200/s0124_binary_tree_maximum_path_sum/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Hard #Top_100_Liked_Questions #Top_Interview_Questions #Dynamic_Programming #Depth_First_Search
22
# #Tree #Binary_Tree #Udemy_Tree_Stack_Queue #Top_Interview_150_Binary_Tree_General
3-
# #Big_O_Time_O(N)_Space_O(N) #2024_06_09_Time_57_ms_(86.71%)_Space_20.9_MB_(40.96%)
3+
# #Big_O_Time_O(N)_Space_O(N) #2025_07_25_Time_11_ms_(91.40%)_Space_22.92_MB_(80.36%)
44

55
# Definition for a binary tree node.
66
# class TreeNode:

src/main/python/g0101_0200/s0128_longest_consecutive_sequence/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Medium #Top_100_Liked_Questions #Top_Interview_Questions #Array #Hash_Table #Union_Find
22
# #Top_Interview_150_Hashmap #Big_O_Time_O(N_log_N)_Space_O(1)
3-
# #2024_06_09_Time_338_ms_(82.56%)_Space_31.7_MB_(88.80%)
3+
# #2025_07_25_Time_47_ms_(76.47%)_Space_33.24_MB_(81.27%)
44

55
class Solution:
66
def longestConsecutive(self, nums: List[int]) -> int:

src/main/python/g0101_0200/s0131_palindrome_partitioning/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Medium #Top_100_Liked_Questions #Top_Interview_Questions #String #Dynamic_Programming
22
# #Backtracking #Big_O_Time_O(N*2^N)_Space_O(2^N*N)
3-
# #2024_06_09_Time_444_ms_(93.43%)_Space_32.1_MB_(84.45%)
3+
# #2025_07_25_Time_50_ms_(56.82%)_Space_32.70_MB_(87.12%)
44

55
class Solution:
66
def partition(self, s: str) -> List[List[str]]:

src/main/python/g0101_0200/s0136_single_number/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# #Easy #Top_100_Liked_Questions #Top_Interview_Questions #Array #Bit_Manipulation
22
# #LeetCode_75_Bit_Manipulation #Data_Structure_II_Day_1_Array
33
# #Algorithm_I_Day_14_Bit_Manipulation #Udemy_Integers #Top_Interview_150_Bit_Manipulation
4-
# #Big_O_Time_O(N)_Space_O(1) #2024_06_09_Time_98_ms_(96.80%)_Space_19_MB_(89.40%)
4+
# #Big_O_Time_O(N)_Space_O(1) #2025_07_25_Time_0_ms_(100.00%)_Space_19.69_MB_(43.28%)
55

66
class Solution:
77
def singleNumber(self, nums: List[int]) -> int:

src/main/python/g0101_0200/s0138_copy_list_with_random_pointer/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# #Medium #Top_100_Liked_Questions #Top_Interview_Questions #Hash_Table #Linked_List
22
# #Programming_Skills_II_Day_14 #Udemy_Linked_List #Top_Interview_150_Linked_List
3-
# #Big_O_Time_O(N)_Space_O(N) #2024_06_09_Time_36_ms_(72.10%)_Space_17.3_MB_(95.85%)
3+
# #Big_O_Time_O(N)_Space_O(N) #2025_07_25_Time_38_ms_(77.31%)_Space_18.72_MB_(18.76%)
44

55
"""
66
# Definition for a Node.

0 commit comments

Comments
 (0)