From 72274613f55d249123eca3509433ca304da5af38 Mon Sep 17 00:00:00 2001 From: Valentyn Kolesnikov Date: Sun, 17 Nov 2024 08:42:00 +0200 Subject: [PATCH] Updated tasks 221-1143 --- README.md | 132 +++++++++--------- .../s0006_zigzag_conversion/Solution.java | 2 +- .../s0221_maximal_square/Solution.java | 2 +- .../s0226_invert_binary_tree/Solution.java | 2 +- .../Solution.java | 2 +- .../Solution.java | 2 +- .../Solution.java | 2 +- .../Solution.java | 29 ++-- .../Solution.java | 2 +- .../s0240_search_a_2d_matrix_ii/Solution.java | 2 +- .../s0283_move_zeroes/Solution.java | 2 +- .../Solution.java | 2 +- .../MedianFinder.java | 2 +- .../Solution.java | 2 +- .../s0322_coin_change/Solution.java | 2 +- .../s0338_counting_bits/Solution.java | 2 +- .../Solution.java | 2 +- .../s0394_decode_string/Solution.java | 2 +- .../Solution.java | 32 +++-- .../s0437_path_sum_iii/Solution.java | 36 ++--- .../Solution.java | 2 +- .../g0401_0500/s0494_target_sum/Solution.java | 54 ++++--- .../Solution.java | 2 +- .../s0560_subarray_sum_equals_k/Solution.java | 2 +- .../Solution.java | 2 +- .../s0739_daily_temperatures/Solution.java | 2 +- .../s0763_partition_labels/Solution.java | 2 +- .../Solution.java | 2 +- 28 files changed, 169 insertions(+), 160 deletions(-) diff --git a/README.md b/README.md index 9b8ece9..aabca19 100644 --- a/README.md +++ b/README.md @@ -52,14 +52,14 @@ | | | | | | | |-|-|-|-|-|-|- -| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 +| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 5 | 99.92 #### Day 5 Array | | | | | | | |-|-|-|-|-|-|- -| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 -| 0560 |Subarray Sum Equals K| [Java](src/main/java/g0501_0600/s0560_subarray_sum_equals_k) [Kotlin](src/main/kotlin/g0501_0600/s0560_subarray_sum_equals_k) [TypeScript](src/main/ts/g0501_0600/s0560_subarray_sum_equals_k) [Scala](src/main/scala/g0501_0600/s0560_subarray_sum_equals_k) [Ruby](src/main/ruby/g0501_0600/s0560_subarray_sum_equals_k) [PHP](src/main/php/g0501_0600/s0560_subarray_sum_equals_k) [C#](src/main/csharp/g0501_0600/s0560_subarray_sum_equals_k) [Go](src/main/go/g0501_0600/s0560_subarray_sum_equals_k) [Cpp](src/main/cpp/g0501_0600/s0560_subarray_sum_equals_k) [Python](src/main/python/g0501_0600/s0560_subarray_sum_equals_k) [Swift](src/main/swift/g0501_0600/s0560_subarray_sum_equals_k) [Elixir](src/main/elixir/g0501_0600/s0560_subarray_sum_equals_k) [Rust](src/main/rust/g0501_0600/s0560_subarray_sum_equals_k) [Dart](src/main/dart/g0501_0600/s0560_subarray_sum_equals_k) [C](src/main/c/g0501_0600/s0560_subarray_sum_equals_k)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_Space_O(n) | 21 | 98.97 +| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 99.66 +| 0560 |Subarray Sum Equals K| [Java](src/main/java/g0501_0600/s0560_subarray_sum_equals_k) [Kotlin](src/main/kotlin/g0501_0600/s0560_subarray_sum_equals_k) [TypeScript](src/main/ts/g0501_0600/s0560_subarray_sum_equals_k) [Scala](src/main/scala/g0501_0600/s0560_subarray_sum_equals_k) [Ruby](src/main/ruby/g0501_0600/s0560_subarray_sum_equals_k) [PHP](src/main/php/g0501_0600/s0560_subarray_sum_equals_k) [C#](src/main/csharp/g0501_0600/s0560_subarray_sum_equals_k) [Go](src/main/go/g0501_0600/s0560_subarray_sum_equals_k) [Cpp](src/main/cpp/g0501_0600/s0560_subarray_sum_equals_k) [Python](src/main/python/g0501_0600/s0560_subarray_sum_equals_k) [Swift](src/main/swift/g0501_0600/s0560_subarray_sum_equals_k) [Elixir](src/main/elixir/g0501_0600/s0560_subarray_sum_equals_k) [Rust](src/main/rust/g0501_0600/s0560_subarray_sum_equals_k) [Dart](src/main/dart/g0501_0600/s0560_subarray_sum_equals_k) [C](src/main/c/g0501_0600/s0560_subarray_sum_equals_k)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Big_O_Time_O(n)_Space_O(n) | 22 | 95.17 #### Day 6 String @@ -70,7 +70,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0763 |Partition Labels| [Java](src/main/java/g0701_0800/s0763_partition_labels) [Kotlin](src/main/kotlin/g0701_0800/s0763_partition_labels) [TypeScript](src/main/ts/g0701_0800/s0763_partition_labels) [Scala](src/main/scala/g0701_0800/s0763_partition_labels) [Ruby](src/main/ruby/g0701_0800/s0763_partition_labels) [PHP](src/main/php/g0701_0800/s0763_partition_labels) [C#](src/main/csharp/g0701_0800/s0763_partition_labels) [Go](src/main/go/g0701_0800/s0763_partition_labels) [Cpp](src/main/cpp/g0701_0800/s0763_partition_labels) [Python](src/main/python/g0701_0800/s0763_partition_labels) [Swift](src/main/swift/g0701_0800/s0763_partition_labels) [Elixir](src/main/elixir/g0701_0800/s0763_partition_labels) [Rust](src/main/rust/g0701_0800/s0763_partition_labels) [Dart](src/main/dart/g0701_0800/s0763_partition_labels) [C](src/main/c/g0701_0800/s0763_partition_labels)| Medium | String, Hash_Table, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 +| 0763 |Partition Labels| [Java](src/main/java/g0701_0800/s0763_partition_labels) [Kotlin](src/main/kotlin/g0701_0800/s0763_partition_labels) [TypeScript](src/main/ts/g0701_0800/s0763_partition_labels) [Scala](src/main/scala/g0701_0800/s0763_partition_labels) [Ruby](src/main/ruby/g0701_0800/s0763_partition_labels) [PHP](src/main/php/g0701_0800/s0763_partition_labels) [C#](src/main/csharp/g0701_0800/s0763_partition_labels) [Go](src/main/go/g0701_0800/s0763_partition_labels) [Cpp](src/main/cpp/g0701_0800/s0763_partition_labels) [Python](src/main/python/g0701_0800/s0763_partition_labels) [Swift](src/main/swift/g0701_0800/s0763_partition_labels) [Elixir](src/main/elixir/g0701_0800/s0763_partition_labels) [Rust](src/main/rust/g0701_0800/s0763_partition_labels) [Dart](src/main/dart/g0701_0800/s0763_partition_labels) [C](src/main/c/g0701_0800/s0763_partition_labels)| Medium | String, Hash_Table, Greedy, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 100.00 #### Day 8 String @@ -130,13 +130,13 @@ | | | | | | | |-|-|-|-|-|-|- -| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 +| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 #### Day 18 Tree | | | | | | | |-|-|-|-|-|-|- -| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 +| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 6 | 100.00 #### Day 19 Graph @@ -148,7 +148,7 @@ | | | | | | | |-|-|-|-|-|-|- | 0215 |Kth Largest Element in an Array| [Java](src/main/java/g0201_0300/s0215_kth_largest_element_in_an_array) [Kotlin](src/main/kotlin/g0201_0300/s0215_kth_largest_element_in_an_array) [TypeScript](src/main/ts/g0201_0300/s0215_kth_largest_element_in_an_array) [Scala](src/main/scala/g0201_0300/s0215_kth_largest_element_in_an_array) [Ruby](src/main/ruby/g0201_0300/s0215_kth_largest_element_in_an_array) [PHP](src/main/php/g0201_0300/s0215_kth_largest_element_in_an_array) [C#](src/main/csharp/g0201_0300/s0215_kth_largest_element_in_an_array) [Go](src/main/go/g0201_0300/s0215_kth_largest_element_in_an_array) [Cpp](src/main/cpp/g0201_0300/s0215_kth_largest_element_in_an_array) [Python](src/main/python/g0201_0300/s0215_kth_largest_element_in_an_array) [Swift](src/main/swift/g0201_0300/s0215_kth_largest_element_in_an_array) [Elixir](src/main/elixir/g0201_0300/s0215_kth_largest_element_in_an_array) [Rust](src/main/rust/g0201_0300/s0215_kth_largest_element_in_an_array) [Dart](src/main/dart/g0201_0300/s0215_kth_largest_element_in_an_array) [C](src/main/c/g0201_0300/s0215_kth_largest_element_in_an_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Big_O_Time_O(n\*log(n))_Space_O(log(n)) | 5 | 70.82 -| 0347 |Top K Frequent Elements| [Java](src/main/java/g0301_0400/s0347_top_k_frequent_elements) [Kotlin](src/main/kotlin/g0301_0400/s0347_top_k_frequent_elements) [TypeScript](src/main/ts/g0301_0400/s0347_top_k_frequent_elements) [Scala](src/main/scala/g0301_0400/s0347_top_k_frequent_elements) [Ruby](src/main/ruby/g0301_0400/s0347_top_k_frequent_elements) [PHP](src/main/php/g0301_0400/s0347_top_k_frequent_elements) [C#](src/main/csharp/g0301_0400/s0347_top_k_frequent_elements) [Go](src/main/go/g0301_0400/s0347_top_k_frequent_elements) [Cpp](src/main/cpp/g0301_0400/s0347_top_k_frequent_elements) [Python](src/main/python/g0301_0400/s0347_top_k_frequent_elements) [Swift](src/main/swift/g0301_0400/s0347_top_k_frequent_elements) [Elixir](src/main/elixir/g0301_0400/s0347_top_k_frequent_elements) [Rust](src/main/rust/g0301_0400/s0347_top_k_frequent_elements) [Dart](src/main/dart/g0301_0400/s0347_top_k_frequent_elements) [C](src/main/c/g0301_0400/s0347_top_k_frequent_elements)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Big_O_Time_O(n\*log(n))_Space_O(k) | 9 | 97.93 +| 0347 |Top K Frequent Elements| [Java](src/main/java/g0301_0400/s0347_top_k_frequent_elements) [Kotlin](src/main/kotlin/g0301_0400/s0347_top_k_frequent_elements) [TypeScript](src/main/ts/g0301_0400/s0347_top_k_frequent_elements) [Scala](src/main/scala/g0301_0400/s0347_top_k_frequent_elements) [Ruby](src/main/ruby/g0301_0400/s0347_top_k_frequent_elements) [PHP](src/main/php/g0301_0400/s0347_top_k_frequent_elements) [C#](src/main/csharp/g0301_0400/s0347_top_k_frequent_elements) [Go](src/main/go/g0301_0400/s0347_top_k_frequent_elements) [Cpp](src/main/cpp/g0301_0400/s0347_top_k_frequent_elements) [Python](src/main/python/g0301_0400/s0347_top_k_frequent_elements) [Swift](src/main/swift/g0301_0400/s0347_top_k_frequent_elements) [Elixir](src/main/elixir/g0301_0400/s0347_top_k_frequent_elements) [Rust](src/main/rust/g0301_0400/s0347_top_k_frequent_elements) [Dart](src/main/dart/g0301_0400/s0347_top_k_frequent_elements) [C](src/main/c/g0301_0400/s0347_top_k_frequent_elements)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Big_O_Time_O(n\*log(n))_Space_O(k) | 9 | 97.30 #### Day 21 Heap Priority Queue @@ -173,7 +173,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 +| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 83.99 #### Day 4 Two Pointers @@ -270,7 +270,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 +| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 3 | 99.83 #### Day 6 Breadth First Search Depth First Search @@ -337,20 +337,20 @@ | | | | | | | |-|-|-|-|-|-|- -| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 98.63 +| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 95.75 #### Day 17 Dynamic Programming | | | | | | | |-|-|-|-|-|-|- -| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 33 | 46.23 +| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 19 | 89.05 #### Day 18 Dynamic Programming | | | | | | | |-|-|-|-|-|-|- | 0072 |Edit Distance| [Java](src/main/java/g0001_0100/s0072_edit_distance) [Kotlin](src/main/kotlin/g0001_0100/s0072_edit_distance) [TypeScript](src/main/ts/g0001_0100/s0072_edit_distance) [Scala](src/main/scala/g0001_0100/s0072_edit_distance) [Ruby](src/main/ruby/g0001_0100/s0072_edit_distance) [PHP](src/main/php/g0001_0100/s0072_edit_distance) [C#](src/main/csharp/g0001_0100/s0072_edit_distance) [Go](src/main/go/g0001_0100/s0072_edit_distance) [Cpp](src/main/cpp/g0001_0100/s0072_edit_distance) [Python](src/main/python/g0001_0100/s0072_edit_distance) [Swift](src/main/swift/g0001_0100/s0072_edit_distance) [Elixir](src/main/elixir/g0001_0100/s0072_edit_distance) [Rust](src/main/rust/g0001_0100/s0072_edit_distance) [Dart](src/main/dart/g0001_0100/s0072_edit_distance) [C](src/main/c/g0001_0100/s0072_edit_distance)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 3 | 97.19 -| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 17 | 91.77 +| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 12 | 92.59 #### Day 19 Bit Manipulation @@ -450,7 +450,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 98.63 +| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 95.75 #### Day 4 @@ -461,7 +461,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0287 |Find the Duplicate Number| [Java](src/main/java/g0201_0300/s0287_find_the_duplicate_number) [Kotlin](src/main/kotlin/g0201_0300/s0287_find_the_duplicate_number) [TypeScript](src/main/ts/g0201_0300/s0287_find_the_duplicate_number) [Scala](src/main/scala/g0201_0300/s0287_find_the_duplicate_number) [Ruby](src/main/ruby/g0201_0300/s0287_find_the_duplicate_number) [PHP](src/main/php/g0201_0300/s0287_find_the_duplicate_number) [C#](src/main/csharp/g0201_0300/s0287_find_the_duplicate_number) [Go](src/main/go/g0201_0300/s0287_find_the_duplicate_number) [Cpp](src/main/cpp/g0201_0300/s0287_find_the_duplicate_number) [Python](src/main/python/g0201_0300/s0287_find_the_duplicate_number) [Swift](src/main/swift/g0201_0300/s0287_find_the_duplicate_number) [Elixir](src/main/elixir/g0201_0300/s0287_find_the_duplicate_number) [Rust](src/main/rust/g0201_0300/s0287_find_the_duplicate_number) [Dart](src/main/dart/g0201_0300/s0287_find_the_duplicate_number) [C](src/main/c/g0201_0300/s0287_find_the_duplicate_number)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Big_O_Time_O(n)_Space_O(n) | 2 | 99.82 +| 0287 |Find the Duplicate Number| [Java](src/main/java/g0201_0300/s0287_find_the_duplicate_number) [Kotlin](src/main/kotlin/g0201_0300/s0287_find_the_duplicate_number) [TypeScript](src/main/ts/g0201_0300/s0287_find_the_duplicate_number) [Scala](src/main/scala/g0201_0300/s0287_find_the_duplicate_number) [Ruby](src/main/ruby/g0201_0300/s0287_find_the_duplicate_number) [PHP](src/main/php/g0201_0300/s0287_find_the_duplicate_number) [C#](src/main/csharp/g0201_0300/s0287_find_the_duplicate_number) [Go](src/main/go/g0201_0300/s0287_find_the_duplicate_number) [Cpp](src/main/cpp/g0201_0300/s0287_find_the_duplicate_number) [Python](src/main/python/g0201_0300/s0287_find_the_duplicate_number) [Swift](src/main/swift/g0201_0300/s0287_find_the_duplicate_number) [Elixir](src/main/elixir/g0201_0300/s0287_find_the_duplicate_number) [Rust](src/main/rust/g0201_0300/s0287_find_the_duplicate_number) [Dart](src/main/dart/g0201_0300/s0287_find_the_duplicate_number) [C](src/main/c/g0201_0300/s0287_find_the_duplicate_number)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Big_O_Time_O(n)_Space_O(n) | 2 | 97.52 #### Day 6 @@ -477,7 +477,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 +| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Big_O_Time_O(n+m)_Space_O(1) | 5 | 99.92 #### Day 9 @@ -632,7 +632,7 @@ | | | | | | | |-|-|-|-|-|-|- | 0064 |Minimum Path Sum| [Java](src/main/java/g0001_0100/s0064_minimum_path_sum) [Kotlin](src/main/kotlin/g0001_0100/s0064_minimum_path_sum) [TypeScript](src/main/ts/g0001_0100/s0064_minimum_path_sum) [Scala](src/main/scala/g0001_0100/s0064_minimum_path_sum) [Ruby](src/main/ruby/g0001_0100/s0064_minimum_path_sum) [PHP](src/main/php/g0001_0100/s0064_minimum_path_sum) [C#](src/main/csharp/g0001_0100/s0064_minimum_path_sum) [Go](src/main/go/g0001_0100/s0064_minimum_path_sum) [Cpp](src/main/cpp/g0001_0100/s0064_minimum_path_sum) [Python](src/main/python/g0001_0100/s0064_minimum_path_sum) [Swift](src/main/swift/g0001_0100/s0064_minimum_path_sum) [Elixir](src/main/elixir/g0001_0100/s0064_minimum_path_sum) [Rust](src/main/rust/g0001_0100/s0064_minimum_path_sum) [Dart](src/main/dart/g0001_0100/s0064_minimum_path_sum) [C](src/main/c/g0001_0100/s0064_minimum_path_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 1 | 99.73 -| 0221 |Maximal Square| [Java](src/main/java/g0201_0300/s0221_maximal_square) [Kotlin](src/main/kotlin/g0201_0300/s0221_maximal_square) [TypeScript](src/main/ts/g0201_0300/s0221_maximal_square) [Scala](src/main/scala/g0201_0300/s0221_maximal_square) [Ruby](src/main/ruby/g0201_0300/s0221_maximal_square) [PHP](src/main/php/g0201_0300/s0221_maximal_square) [C#](src/main/csharp/g0201_0300/s0221_maximal_square) [Go](src/main/go/g0201_0300/s0221_maximal_square) [Cpp](src/main/cpp/g0201_0300/s0221_maximal_square) [Python](src/main/python/g0201_0300/s0221_maximal_square) [Swift](src/main/swift/g0201_0300/s0221_maximal_square) [Elixir](src/main/elixir/g0201_0300/s0221_maximal_square) [Rust](src/main/rust/g0201_0300/s0221_maximal_square) [Dart](src/main/dart/g0201_0300/s0221_maximal_square) [C](src/main/c/g0201_0300/s0221_maximal_square)| Medium | Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 7 | 72.35 +| 0221 |Maximal Square| [Java](src/main/java/g0201_0300/s0221_maximal_square) [Kotlin](src/main/kotlin/g0201_0300/s0221_maximal_square) [TypeScript](src/main/ts/g0201_0300/s0221_maximal_square) [Scala](src/main/scala/g0201_0300/s0221_maximal_square) [Ruby](src/main/ruby/g0201_0300/s0221_maximal_square) [PHP](src/main/php/g0201_0300/s0221_maximal_square) [C#](src/main/csharp/g0201_0300/s0221_maximal_square) [Go](src/main/go/g0201_0300/s0221_maximal_square) [Cpp](src/main/cpp/g0201_0300/s0221_maximal_square) [Python](src/main/python/g0201_0300/s0221_maximal_square) [Swift](src/main/swift/g0201_0300/s0221_maximal_square) [Elixir](src/main/elixir/g0201_0300/s0221_maximal_square) [Rust](src/main/rust/g0201_0300/s0221_maximal_square) [Dart](src/main/dart/g0201_0300/s0221_maximal_square) [C](src/main/c/g0201_0300/s0221_maximal_square)| Medium | Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 6 | 97.07 #### Day 17 @@ -644,20 +644,20 @@ | | | | | | | |-|-|-|-|-|-|- -| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 98.63 +| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 95.75 #### Day 19 | | | | | | | |-|-|-|-|-|-|- -| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 33 | 46.23 +| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 19 | 89.05 | 0072 |Edit Distance| [Java](src/main/java/g0001_0100/s0072_edit_distance) [Kotlin](src/main/kotlin/g0001_0100/s0072_edit_distance) [TypeScript](src/main/ts/g0001_0100/s0072_edit_distance) [Scala](src/main/scala/g0001_0100/s0072_edit_distance) [Ruby](src/main/ruby/g0001_0100/s0072_edit_distance) [PHP](src/main/php/g0001_0100/s0072_edit_distance) [C#](src/main/csharp/g0001_0100/s0072_edit_distance) [Go](src/main/go/g0001_0100/s0072_edit_distance) [Cpp](src/main/cpp/g0001_0100/s0072_edit_distance) [Python](src/main/python/g0001_0100/s0072_edit_distance) [Swift](src/main/swift/g0001_0100/s0072_edit_distance) [Elixir](src/main/elixir/g0001_0100/s0072_edit_distance) [Rust](src/main/rust/g0001_0100/s0072_edit_distance) [Dart](src/main/dart/g0001_0100/s0072_edit_distance) [C](src/main/c/g0001_0100/s0072_edit_distance)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 3 | 97.19 #### Day 20 | | | | | | | |-|-|-|-|-|-|- -| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 17 | 91.77 +| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 12 | 92.59 #### Day 21 @@ -695,7 +695,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 +| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 83.99 #### Day 7 Array @@ -759,7 +759,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0739 |Daily Temperatures| [Java](src/main/java/g0701_0800/s0739_daily_temperatures) [Kotlin](src/main/kotlin/g0701_0800/s0739_daily_temperatures) [TypeScript](src/main/ts/g0701_0800/s0739_daily_temperatures) [Scala](src/main/scala/g0701_0800/s0739_daily_temperatures) [Ruby](src/main/ruby/g0701_0800/s0739_daily_temperatures) [PHP](src/main/php/g0701_0800/s0739_daily_temperatures) [C#](src/main/csharp/g0701_0800/s0739_daily_temperatures) [Go](src/main/go/g0701_0800/s0739_daily_temperatures) [Cpp](src/main/cpp/g0701_0800/s0739_daily_temperatures) [Python](src/main/python/g0701_0800/s0739_daily_temperatures) [Swift](src/main/swift/g0701_0800/s0739_daily_temperatures) [Elixir](src/main/elixir/g0701_0800/s0739_daily_temperatures) [Rust](src/main/rust/g0701_0800/s0739_daily_temperatures) [Dart](src/main/dart/g0701_0800/s0739_daily_temperatures) [C](src/main/c/g0701_0800/s0739_daily_temperatures)| Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(n) | 10 | 94.99 +| 0739 |Daily Temperatures| [Java](src/main/java/g0701_0800/s0739_daily_temperatures) [Kotlin](src/main/kotlin/g0701_0800/s0739_daily_temperatures) [TypeScript](src/main/ts/g0701_0800/s0739_daily_temperatures) [Scala](src/main/scala/g0701_0800/s0739_daily_temperatures) [Ruby](src/main/ruby/g0701_0800/s0739_daily_temperatures) [PHP](src/main/php/g0701_0800/s0739_daily_temperatures) [C#](src/main/csharp/g0701_0800/s0739_daily_temperatures) [Go](src/main/go/g0701_0800/s0739_daily_temperatures) [Cpp](src/main/cpp/g0701_0800/s0739_daily_temperatures) [Python](src/main/python/g0701_0800/s0739_daily_temperatures) [Swift](src/main/swift/g0701_0800/s0739_daily_temperatures) [Elixir](src/main/elixir/g0701_0800/s0739_daily_temperatures) [Rust](src/main/rust/g0701_0800/s0739_daily_temperatures) [Dart](src/main/dart/g0701_0800/s0739_daily_temperatures) [C](src/main/c/g0701_0800/s0739_daily_temperatures)| Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Big_O_Time_O(n)_Space_O(n) | 8 | 96.83 #### Day 7 @@ -792,7 +792,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 +| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 3 | 99.83 #### Day 13 @@ -1032,7 +1032,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 +| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n+m)_Space_O(1) | 3 | 99.83 #### Day 13 Hashmap @@ -1044,7 +1044,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 +| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 #### Day 15 Heap @@ -1068,7 +1068,7 @@ | | | | | | | |-|-|-|-|-|-|- | 0019 |Remove Nth Node From End of List| [Java](src/main/java/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Kotlin](src/main/kotlin/g0001_0100/s0019_remove_nth_node_from_end_of_list) [TypeScript](src/main/ts/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Scala](src/main/scala/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Ruby](src/main/ruby/g0001_0100/s0019_remove_nth_node_from_end_of_list) [PHP](src/main/php/g0001_0100/s0019_remove_nth_node_from_end_of_list) [C#](src/main/csharp/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Go](src/main/go/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Cpp](src/main/cpp/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Python](src/main/python/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Swift](src/main/swift/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Elixir](src/main/elixir/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Rust](src/main/rust/g0001_0100/s0019_remove_nth_node_from_end_of_list) [Dart](src/main/dart/g0001_0100/s0019_remove_nth_node_from_end_of_list) [C](src/main/c/g0001_0100/s0019_remove_nth_node_from_end_of_list)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Two_Pointers, Linked_List, Big_O_Time_O(L)_Space_O(L) | 0 | 100.00 -| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 +| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 4 | 84.46 #### Day 4 Linked List @@ -1091,8 +1091,8 @@ | | | | | | | |-|-|-|-|-|-|- -| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 -| 0437 |Path Sum III| [Java](src/main/java/g0401_0500/s0437_path_sum_iii) [Kotlin](src/main/kotlin/g0401_0500/s0437_path_sum_iii) [TypeScript](src/main/ts/g0401_0500/s0437_path_sum_iii) [Scala](src/main/scala/g0401_0500/s0437_path_sum_iii) [Ruby](src/main/ruby/g0401_0500/s0437_path_sum_iii) [PHP](src/main/php/g0401_0500/s0437_path_sum_iii) [C#](src/main/csharp/g0401_0500/s0437_path_sum_iii) [Go](src/main/go/g0401_0500/s0437_path_sum_iii) [Cpp](src/main/cpp/g0401_0500/s0437_path_sum_iii) [Python](src/main/python/g0401_0500/s0437_path_sum_iii) [Swift](src/main/swift/g0401_0500/s0437_path_sum_iii) [Elixir](src/main/elixir/g0401_0500/s0437_path_sum_iii) [Rust](src/main/rust/g0401_0500/s0437_path_sum_iii) [Dart](src/main/dart/g0401_0500/s0437_path_sum_iii) [C](src/main/c/g0401_0500/s0437_path_sum_iii)| Medium | Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 18 | 45.66 +| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 +| 0437 |Path Sum III| [Java](src/main/java/g0401_0500/s0437_path_sum_iii) [Kotlin](src/main/kotlin/g0401_0500/s0437_path_sum_iii) [TypeScript](src/main/ts/g0401_0500/s0437_path_sum_iii) [Scala](src/main/scala/g0401_0500/s0437_path_sum_iii) [Ruby](src/main/ruby/g0401_0500/s0437_path_sum_iii) [PHP](src/main/php/g0401_0500/s0437_path_sum_iii) [C#](src/main/csharp/g0401_0500/s0437_path_sum_iii) [Go](src/main/go/g0401_0500/s0437_path_sum_iii) [Cpp](src/main/cpp/g0401_0500/s0437_path_sum_iii) [Python](src/main/python/g0401_0500/s0437_path_sum_iii) [Swift](src/main/swift/g0401_0500/s0437_path_sum_iii) [Elixir](src/main/elixir/g0401_0500/s0437_path_sum_iii) [Rust](src/main/rust/g0401_0500/s0437_path_sum_iii) [Dart](src/main/dart/g0401_0500/s0437_path_sum_iii) [C](src/main/c/g0401_0500/s0437_path_sum_iii)| Medium | Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 2 | 100.00 #### Day 8 Binary Search @@ -1105,7 +1105,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 +| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 #### Day 10 Graph/BFS/DFS @@ -1122,13 +1122,13 @@ | | | | | | | |-|-|-|-|-|-|- | 0198 |House Robber| [Java](src/main/java/g0101_0200/s0198_house_robber) [Kotlin](src/main/kotlin/g0101_0200/s0198_house_robber) [TypeScript](src/main/ts/g0101_0200/s0198_house_robber) [Scala](src/main/scala/g0101_0200/s0198_house_robber) [Ruby](src/main/ruby/g0101_0200/s0198_house_robber) [PHP](src/main/php/g0101_0200/s0198_house_robber) [C#](src/main/csharp/g0101_0200/s0198_house_robber) [Go](src/main/go/g0101_0200/s0198_house_robber) [Cpp](src/main/cpp/g0101_0200/s0198_house_robber) [Python](src/main/python/g0101_0200/s0198_house_robber) [Swift](src/main/swift/g0101_0200/s0198_house_robber) [Elixir](src/main/elixir/g0101_0200/s0198_house_robber) [Rust](src/main/rust/g0101_0200/s0198_house_robber) [Dart](src/main/dart/g0101_0200/s0198_house_robber) [C](src/main/c/g0101_0200/s0198_house_robber)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 -| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 17 | 91.77 +| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Big_O_Time_O(m\*n)_Space_O(amount) | 12 | 92.59 #### Day 13 Dynamic Programming | | | | | | | |-|-|-|-|-|-|- -| 0416 |Partition Equal Subset Sum| [Java](src/main/java/g0401_0500/s0416_partition_equal_subset_sum) [Kotlin](src/main/kotlin/g0401_0500/s0416_partition_equal_subset_sum) [TypeScript](src/main/ts/g0401_0500/s0416_partition_equal_subset_sum) [Scala](src/main/scala/g0401_0500/s0416_partition_equal_subset_sum) [Ruby](src/main/ruby/g0401_0500/s0416_partition_equal_subset_sum) [PHP](src/main/php/g0401_0500/s0416_partition_equal_subset_sum) [C#](src/main/csharp/g0401_0500/s0416_partition_equal_subset_sum) [Go](src/main/go/g0401_0500/s0416_partition_equal_subset_sum) [Cpp](src/main/cpp/g0401_0500/s0416_partition_equal_subset_sum) [Python](src/main/python/g0401_0500/s0416_partition_equal_subset_sum) [Swift](src/main/swift/g0401_0500/s0416_partition_equal_subset_sum) [Elixir](src/main/elixir/g0401_0500/s0416_partition_equal_subset_sum) [Rust](src/main/rust/g0401_0500/s0416_partition_equal_subset_sum) [Dart](src/main/dart/g0401_0500/s0416_partition_equal_subset_sum) [C](src/main/c/g0401_0500/s0416_partition_equal_subset_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n\*sums)_Space_O(n\*sums) | 27 | 94.53 +| 0416 |Partition Equal Subset Sum| [Java](src/main/java/g0401_0500/s0416_partition_equal_subset_sum) [Kotlin](src/main/kotlin/g0401_0500/s0416_partition_equal_subset_sum) [TypeScript](src/main/ts/g0401_0500/s0416_partition_equal_subset_sum) [Scala](src/main/scala/g0401_0500/s0416_partition_equal_subset_sum) [Ruby](src/main/ruby/g0401_0500/s0416_partition_equal_subset_sum) [PHP](src/main/php/g0401_0500/s0416_partition_equal_subset_sum) [C#](src/main/csharp/g0401_0500/s0416_partition_equal_subset_sum) [Go](src/main/go/g0401_0500/s0416_partition_equal_subset_sum) [Cpp](src/main/cpp/g0401_0500/s0416_partition_equal_subset_sum) [Python](src/main/python/g0401_0500/s0416_partition_equal_subset_sum) [Swift](src/main/swift/g0401_0500/s0416_partition_equal_subset_sum) [Elixir](src/main/elixir/g0401_0500/s0416_partition_equal_subset_sum) [Rust](src/main/rust/g0401_0500/s0416_partition_equal_subset_sum) [Dart](src/main/dart/g0401_0500/s0416_partition_equal_subset_sum) [C](src/main/c/g0401_0500/s0416_partition_equal_subset_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Big_O_Time_O(n\*sums)_Space_O(n\*sums) | 5 | 99.88 | 0152 |Maximum Product Subarray| [Java](src/main/java/g0101_0200/s0152_maximum_product_subarray) [Kotlin](src/main/kotlin/g0101_0200/s0152_maximum_product_subarray) [TypeScript](src/main/ts/g0101_0200/s0152_maximum_product_subarray) [Scala](src/main/scala/g0101_0200/s0152_maximum_product_subarray) [Ruby](src/main/ruby/g0101_0200/s0152_maximum_product_subarray) [PHP](src/main/php/g0101_0200/s0152_maximum_product_subarray) [C#](src/main/csharp/g0101_0200/s0152_maximum_product_subarray) [Go](src/main/go/g0101_0200/s0152_maximum_product_subarray) [Cpp](src/main/cpp/g0101_0200/s0152_maximum_product_subarray) [Python](src/main/python/g0101_0200/s0152_maximum_product_subarray) [Swift](src/main/swift/g0101_0200/s0152_maximum_product_subarray) [Elixir](src/main/elixir/g0101_0200/s0152_maximum_product_subarray) [Rust](src/main/rust/g0101_0200/s0152_maximum_product_subarray) [Dart](src/main/dart/g0101_0200/s0152_maximum_product_subarray) [C](src/main/c/g0101_0200/s0152_maximum_product_subarray)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 92.74 #### Day 14 Sliding Window/Two Pointer @@ -1191,7 +1191,7 @@ | 0003 |Longest Substring Without Repeating Characters| [Java](src/main/java/g0001_0100/s0003_longest_substring_without_repeating_characters) [Kotlin](src/main/kotlin/g0001_0100/s0003_longest_substring_without_repeating_characters) [TypeScript](src/main/ts/g0001_0100/s0003_longest_substring_without_repeating_characters) [Scala](src/main/scala/g0001_0100/s0003_longest_substring_without_repeating_characters) [Ruby](src/main/ruby/g0001_0100/s0003_longest_substring_without_repeating_characters) [PHP](src/main/php/g0001_0100/s0003_longest_substring_without_repeating_characters) [C#](src/main/csharp/g0001_0100/s0003_longest_substring_without_repeating_characters) [Go](src/main/go/g0001_0100/s0003_longest_substring_without_repeating_characters) [Cpp](src/main/cpp/g0001_0100/s0003_longest_substring_without_repeating_characters) [Python](src/main/python/g0001_0100/s0003_longest_substring_without_repeating_characters) [Swift](src/main/swift/g0001_0100/s0003_longest_substring_without_repeating_characters) [Elixir](src/main/elixir/g0001_0100/s0003_longest_substring_without_repeating_characters) [Rust](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters) [Dart](src/main/dart/g0001_0100/s0003_longest_substring_without_repeating_characters) [C](src/main/c/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task | 2 | 98.59 | 0020 |Valid Parentheses| [Java](src/main/java/g0001_0100/s0020_valid_parentheses) [Kotlin](src/main/kotlin/g0001_0100/s0020_valid_parentheses) [TypeScript](src/main/ts/g0001_0100/s0020_valid_parentheses) [Scala](src/main/scala/g0001_0100/s0020_valid_parentheses) [Ruby](src/main/ruby/g0001_0100/s0020_valid_parentheses) [PHP](src/main/php/g0001_0100/s0020_valid_parentheses) [C#](src/main/csharp/g0001_0100/s0020_valid_parentheses) [Go](src/main/go/g0001_0100/s0020_valid_parentheses) [Cpp](src/main/cpp/g0001_0100/s0020_valid_parentheses) [Python](src/main/python/g0001_0100/s0020_valid_parentheses) [Swift](src/main/swift/g0001_0100/s0020_valid_parentheses) [Elixir](src/main/elixir/g0001_0100/s0020_valid_parentheses) [Rust](src/main/rust/g0001_0100/s0020_valid_parentheses) [Dart](src/main/dart/g0001_0100/s0020_valid_parentheses) [C](src/main/c/g0001_0100/s0020_valid_parentheses)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, String, Stack, Big_O_Time_O(n)_Space_O(n) | 2 | 97.19 | 0005 |Longest Palindromic Substring| [Java](src/main/java/g0001_0100/s0005_longest_palindromic_substring) [Kotlin](src/main/kotlin/g0001_0100/s0005_longest_palindromic_substring) [TypeScript](src/main/ts/g0001_0100/s0005_longest_palindromic_substring) [Scala](src/main/scala/g0001_0100/s0005_longest_palindromic_substring) [Ruby](src/main/ruby/g0001_0100/s0005_longest_palindromic_substring) [PHP](src/main/php/g0001_0100/s0005_longest_palindromic_substring) [C#](src/main/csharp/g0001_0100/s0005_longest_palindromic_substring) [Go](src/main/go/g0001_0100/s0005_longest_palindromic_substring) [Cpp](src/main/cpp/g0001_0100/s0005_longest_palindromic_substring) [Python](src/main/python/g0001_0100/s0005_longest_palindromic_substring) [Swift](src/main/swift/g0001_0100/s0005_longest_palindromic_substring) [Elixir](src/main/elixir/g0001_0100/s0005_longest_palindromic_substring) [Rust](src/main/rust/g0001_0100/s0005_longest_palindromic_substring) [Dart](src/main/dart/g0001_0100/s0005_longest_palindromic_substring) [C](src/main/c/g0001_0100/s0005_longest_palindromic_substring)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 7 | 97.82 -| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 +| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0049 |Group Anagrams| [Java](src/main/java/g0001_0100/s0049_group_anagrams) [Kotlin](src/main/kotlin/g0001_0100/s0049_group_anagrams) [TypeScript](src/main/ts/g0001_0100/s0049_group_anagrams) [Scala](src/main/scala/g0001_0100/s0049_group_anagrams) [Ruby](src/main/ruby/g0001_0100/s0049_group_anagrams) [PHP](src/main/php/g0001_0100/s0049_group_anagrams) [C#](src/main/csharp/g0001_0100/s0049_group_anagrams) [Go](src/main/go/g0001_0100/s0049_group_anagrams) [Cpp](src/main/cpp/g0001_0100/s0049_group_anagrams) [Python](src/main/python/g0001_0100/s0049_group_anagrams) [Swift](src/main/swift/g0001_0100/s0049_group_anagrams) [Elixir](src/main/elixir/g0001_0100/s0049_group_anagrams) [Rust](src/main/rust/g0001_0100/s0049_group_anagrams) [Dart](src/main/dart/g0001_0100/s0049_group_anagrams) [C](src/main/c/g0001_0100/s0049_group_anagrams)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, String, Hash_Table, Sorting, Big_O_Time_O(n\*k_log_k)_Space_O(n) | 6 | 97.61 #### Udemy Binary Search @@ -1206,14 +1206,14 @@ | | | | | | | |-|-|-|-|-|-|- | 0121 |Best Time to Buy and Sell Stock| [Java](src/main/java/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Kotlin](src/main/kotlin/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [TypeScript](src/main/ts/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Scala](src/main/scala/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Ruby](src/main/ruby/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [PHP](src/main/php/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [C#](src/main/csharp/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Go](src/main/go/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Cpp](src/main/cpp/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Python](src/main/python/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Swift](src/main/swift/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Elixir](src/main/elixir/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Rust](src/main/rust/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [Dart](src/main/dart/g0101_0200/s0121_best_time_to_buy_and_sell_stock) [C](src/main/c/g0101_0200/s0121_best_time_to_buy_and_sell_stock)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(N)_Space_O(1) | 1 | 99.78 -| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 +| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 2 | 83.99 | 0001 |Two Sum| [Java](src/main/java/g0001_0100/s0001_two_sum) [Kotlin](src/main/kotlin/g0001_0100/s0001_two_sum) [TypeScript](src/main/ts/g0001_0100/s0001_two_sum) [Scala](src/main/scala/g0001_0100/s0001_two_sum) [Ruby](src/main/ruby/g0001_0100/s0001_two_sum) [PHP](src/main/php/g0001_0100/s0001_two_sum) [C#](src/main/csharp/g0001_0100/s0001_two_sum) [Go](src/main/go/g0001_0100/s0001_two_sum) [Cpp](src/main/cpp/g0001_0100/s0001_two_sum) [Python](src/main/python/g0001_0100/s0001_two_sum) [Swift](src/main/swift/g0001_0100/s0001_two_sum) [Elixir](src/main/elixir/g0001_0100/s0001_two_sum) [Rust](src/main/rust/g0001_0100/s0001_two_sum) [Dart](src/main/dart/g0001_0100/s0001_two_sum) [C](src/main/c/g0001_0100/s0001_two_sum)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n), AI_can_be_used_to_solve_the_task | 2 | 98.90 | 0189 |Rotate Array| [Java](src/main/java/g0101_0200/s0189_rotate_array) [Kotlin](src/main/kotlin/g0101_0200/s0189_rotate_array) [TypeScript](src/main/ts/g0101_0200/s0189_rotate_array) [Scala](src/main/scala/g0101_0200/s0189_rotate_array) [Ruby](src/main/ruby/g0101_0200/s0189_rotate_array) [PHP](src/main/php/g0101_0200/s0189_rotate_array) [C#](src/main/csharp/g0101_0200/s0189_rotate_array) [Go](src/main/go/g0101_0200/s0189_rotate_array) [Cpp](src/main/cpp/g0101_0200/s0189_rotate_array) [Python](src/main/python/g0101_0200/s0189_rotate_array) [Swift](src/main/swift/g0101_0200/s0189_rotate_array) [Elixir](src/main/elixir/g0101_0200/s0189_rotate_array) [Rust](src/main/rust/g0101_0200/s0189_rotate_array) [Dart](src/main/dart/g0101_0200/s0189_rotate_array) [C](src/main/c/g0101_0200/s0189_rotate_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Math, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 | 0055 |Jump Game| [Java](src/main/java/g0001_0100/s0055_jump_game) [Kotlin](src/main/kotlin/g0001_0100/s0055_jump_game) [TypeScript](src/main/ts/g0001_0100/s0055_jump_game) [Scala](src/main/scala/g0001_0100/s0055_jump_game) [Ruby](src/main/ruby/g0001_0100/s0055_jump_game) [PHP](src/main/php/g0001_0100/s0055_jump_game) [C#](src/main/csharp/g0001_0100/s0055_jump_game) [Go](src/main/go/g0001_0100/s0055_jump_game) [Cpp](src/main/cpp/g0001_0100/s0055_jump_game) [Python](src/main/python/g0001_0100/s0055_jump_game) [Swift](src/main/swift/g0001_0100/s0055_jump_game) [Elixir](src/main/elixir/g0001_0100/s0055_jump_game) [Rust](src/main/rust/g0001_0100/s0055_jump_game) [Dart](src/main/dart/g0001_0100/s0055_jump_game) [C](src/main/c/g0001_0100/s0055_jump_game)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Greedy, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 | 0075 |Sort Colors| [Java](src/main/java/g0001_0100/s0075_sort_colors) [Kotlin](src/main/kotlin/g0001_0100/s0075_sort_colors) [TypeScript](src/main/ts/g0001_0100/s0075_sort_colors) [Scala](src/main/scala/g0001_0100/s0075_sort_colors) [Ruby](src/main/ruby/g0001_0100/s0075_sort_colors) [PHP](src/main/php/g0001_0100/s0075_sort_colors) [C#](src/main/csharp/g0001_0100/s0075_sort_colors) [Go](src/main/go/g0001_0100/s0075_sort_colors) [Cpp](src/main/cpp/g0001_0100/s0075_sort_colors) [Python](src/main/python/g0001_0100/s0075_sort_colors) [Swift](src/main/swift/g0001_0100/s0075_sort_colors) [Elixir](src/main/elixir/g0001_0100/s0075_sort_colors) [Rust](src/main/rust/g0001_0100/s0075_sort_colors) [Dart](src/main/dart/g0001_0100/s0075_sort_colors) [C](src/main/c/g0001_0100/s0075_sort_colors)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Two_Pointers, Big_O_Time_O(n)_Space_O(1) | 0 | 100.00 -| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 +| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Big_O_Time_O(n^2)_Space_O(n) | 1 | 99.66 | 0041 |First Missing Positive| [Java](src/main/java/g0001_0100/s0041_first_missing_positive) [Kotlin](src/main/kotlin/g0001_0100/s0041_first_missing_positive) [TypeScript](src/main/ts/g0001_0100/s0041_first_missing_positive) [Scala](src/main/scala/g0001_0100/s0041_first_missing_positive) [Ruby](src/main/ruby/g0001_0100/s0041_first_missing_positive) [PHP](src/main/php/g0001_0100/s0041_first_missing_positive) [C#](src/main/csharp/g0001_0100/s0041_first_missing_positive) [Go](src/main/go/g0001_0100/s0041_first_missing_positive) [Cpp](src/main/cpp/g0001_0100/s0041_first_missing_positive) [Python](src/main/python/g0001_0100/s0041_first_missing_positive) [Swift](src/main/swift/g0001_0100/s0041_first_missing_positive) [Elixir](src/main/elixir/g0001_0100/s0041_first_missing_positive) [Rust](src/main/rust/g0001_0100/s0041_first_missing_positive) [Dart](src/main/dart/g0001_0100/s0041_first_missing_positive) [C](src/main/c/g0001_0100/s0041_first_missing_positive)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Hash_Table, Big_O_Time_O(n)_Space_O(n) | 1 | 100.00 -| 0239 |Sliding Window Maximum| [Java](src/main/java/g0201_0300/s0239_sliding_window_maximum) [Kotlin](src/main/kotlin/g0201_0300/s0239_sliding_window_maximum) [TypeScript](src/main/ts/g0201_0300/s0239_sliding_window_maximum) [Scala](src/main/scala/g0201_0300/s0239_sliding_window_maximum) [Ruby](src/main/ruby/g0201_0300/s0239_sliding_window_maximum) [PHP](src/main/php/g0201_0300/s0239_sliding_window_maximum) [C#](src/main/csharp/g0201_0300/s0239_sliding_window_maximum) [Go](src/main/go/g0201_0300/s0239_sliding_window_maximum) [Cpp](src/main/cpp/g0201_0300/s0239_sliding_window_maximum) [Python](src/main/python/g0201_0300/s0239_sliding_window_maximum) [Swift](src/main/swift/g0201_0300/s0239_sliding_window_maximum) [Elixir](src/main/elixir/g0201_0300/s0239_sliding_window_maximum) [Rust](src/main/rust/g0201_0300/s0239_sliding_window_maximum) [Dart](src/main/dart/g0201_0300/s0239_sliding_window_maximum) [C](src/main/c/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n\*k)_Space_O(n+k) | 58 | 52.28 +| 0239 |Sliding Window Maximum| [Java](src/main/java/g0201_0300/s0239_sliding_window_maximum) [Kotlin](src/main/kotlin/g0201_0300/s0239_sliding_window_maximum) [TypeScript](src/main/ts/g0201_0300/s0239_sliding_window_maximum) [Scala](src/main/scala/g0201_0300/s0239_sliding_window_maximum) [Ruby](src/main/ruby/g0201_0300/s0239_sliding_window_maximum) [PHP](src/main/php/g0201_0300/s0239_sliding_window_maximum) [C#](src/main/csharp/g0201_0300/s0239_sliding_window_maximum) [Go](src/main/go/g0201_0300/s0239_sliding_window_maximum) [Cpp](src/main/cpp/g0201_0300/s0239_sliding_window_maximum) [Python](src/main/python/g0201_0300/s0239_sliding_window_maximum) [Swift](src/main/swift/g0201_0300/s0239_sliding_window_maximum) [Elixir](src/main/elixir/g0201_0300/s0239_sliding_window_maximum) [Rust](src/main/rust/g0201_0300/s0239_sliding_window_maximum) [Dart](src/main/dart/g0201_0300/s0239_sliding_window_maximum) [C](src/main/c/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Big_O_Time_O(n\*k)_Space_O(n+k) | 26 | 95.89 #### Udemy Two Pointers @@ -1254,7 +1254,7 @@ | 0206 |Reverse Linked List| [Java](src/main/java/g0201_0300/s0206_reverse_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0206_reverse_linked_list) [TypeScript](src/main/ts/g0201_0300/s0206_reverse_linked_list) [Scala](src/main/scala/g0201_0300/s0206_reverse_linked_list) [Ruby](src/main/ruby/g0201_0300/s0206_reverse_linked_list) [PHP](src/main/php/g0201_0300/s0206_reverse_linked_list) [C#](src/main/csharp/g0201_0300/s0206_reverse_linked_list) [Go](src/main/go/g0201_0300/s0206_reverse_linked_list) [Cpp](src/main/cpp/g0201_0300/s0206_reverse_linked_list) [Python](src/main/python/g0201_0300/s0206_reverse_linked_list) [Swift](src/main/swift/g0201_0300/s0206_reverse_linked_list) [Elixir](src/main/elixir/g0201_0300/s0206_reverse_linked_list) [Rust](src/main/rust/g0201_0300/s0206_reverse_linked_list) [Dart](src/main/dart/g0201_0300/s0206_reverse_linked_list) [C](src/main/c/g0201_0300/s0206_reverse_linked_list)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(N)_Space_O(1) | 0 | 100.00 | 0021 |Merge Two Sorted Lists| [Java](src/main/java/g0001_0100/s0021_merge_two_sorted_lists) [Kotlin](src/main/kotlin/g0001_0100/s0021_merge_two_sorted_lists) [TypeScript](src/main/ts/g0001_0100/s0021_merge_two_sorted_lists) [Scala](src/main/scala/g0001_0100/s0021_merge_two_sorted_lists) [Ruby](src/main/ruby/g0001_0100/s0021_merge_two_sorted_lists) [PHP](src/main/php/g0001_0100/s0021_merge_two_sorted_lists) [C#](src/main/csharp/g0001_0100/s0021_merge_two_sorted_lists) [Go](src/main/go/g0001_0100/s0021_merge_two_sorted_lists) [Cpp](src/main/cpp/g0001_0100/s0021_merge_two_sorted_lists) [Python](src/main/python/g0001_0100/s0021_merge_two_sorted_lists) [Swift](src/main/swift/g0001_0100/s0021_merge_two_sorted_lists) [Elixir](src/main/elixir/g0001_0100/s0021_merge_two_sorted_lists) [Rust](src/main/rust/g0001_0100/s0021_merge_two_sorted_lists) [Dart](src/main/dart/g0001_0100/s0021_merge_two_sorted_lists) [C](src/main/c/g0001_0100/s0021_merge_two_sorted_lists)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Linked_List, Recursion, Big_O_Time_O(m+n)_Space_O(m+n) | 0 | 100.00 | 0160 |Intersection of Two Linked Lists| [Java](src/main/java/g0101_0200/s0160_intersection_of_two_linked_lists) [Kotlin](src/main/kotlin/g0101_0200/s0160_intersection_of_two_linked_lists) [TypeScript](src/main/ts/g0101_0200/s0160_intersection_of_two_linked_lists) [Scala](src/main/scala/g0101_0200/s0160_intersection_of_two_linked_lists) [Ruby](src/main/ruby/g0101_0200/s0160_intersection_of_two_linked_lists) [PHP](src/main/php/g0101_0200/s0160_intersection_of_two_linked_lists) [C#](src/main/csharp/g0101_0200/s0160_intersection_of_two_linked_lists) [Go](src/main/go/g0101_0200/s0160_intersection_of_two_linked_lists) [Cpp](src/main/cpp/g0101_0200/s0160_intersection_of_two_linked_lists) [Python](src/main/python/g0101_0200/s0160_intersection_of_two_linked_lists) [Swift](src/main/swift/g0101_0200/s0160_intersection_of_two_linked_lists) [Elixir](src/main/elixir/g0101_0200/s0160_intersection_of_two_linked_lists) [Rust](src/main/rust/g0101_0200/s0160_intersection_of_two_linked_lists) [Dart](src/main/dart/g0101_0200/s0160_intersection_of_two_linked_lists) [C](src/main/c/g0101_0200/s0160_intersection_of_two_linked_lists)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Two_Pointers, Linked_List, Big_O_Time_O(M+N)_Space_O(1) | 1 | 99.92 -| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 +| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(1) | 4 | 84.46 | 0138 |Copy List with Random Pointer| [Java](src/main/java/g0101_0200/s0138_copy_list_with_random_pointer) [Kotlin](src/main/kotlin/g0101_0200/s0138_copy_list_with_random_pointer) [TypeScript](src/main/ts/g0101_0200/s0138_copy_list_with_random_pointer) [Scala](src/main/scala/g0101_0200/s0138_copy_list_with_random_pointer) [Ruby](src/main/ruby/g0101_0200/s0138_copy_list_with_random_pointer) [PHP](src/main/php/g0101_0200/s0138_copy_list_with_random_pointer) [C#](src/main/csharp/g0101_0200/s0138_copy_list_with_random_pointer) [Go](src/main/go/g0101_0200/s0138_copy_list_with_random_pointer) [Cpp](src/main/cpp/g0101_0200/s0138_copy_list_with_random_pointer) [Python](src/main/python/g0101_0200/s0138_copy_list_with_random_pointer) [Swift](src/main/swift/g0101_0200/s0138_copy_list_with_random_pointer) [Elixir](src/main/elixir/g0101_0200/s0138_copy_list_with_random_pointer) [Rust](src/main/rust/g0101_0200/s0138_copy_list_with_random_pointer) [Dart](src/main/dart/g0101_0200/s0138_copy_list_with_random_pointer) [C](src/main/c/g0101_0200/s0138_copy_list_with_random_pointer)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Linked_List, Big_O_Time_O(N)_Space_O(N) | 0 | 100.00 | 0025 |Reverse Nodes in k-Group| [Java](src/main/java/g0001_0100/s0025_reverse_nodes_in_k_group) [Kotlin](src/main/kotlin/g0001_0100/s0025_reverse_nodes_in_k_group) [TypeScript](src/main/ts/g0001_0100/s0025_reverse_nodes_in_k_group) [Scala](src/main/scala/g0001_0100/s0025_reverse_nodes_in_k_group) [Ruby](src/main/ruby/g0001_0100/s0025_reverse_nodes_in_k_group) [PHP](src/main/php/g0001_0100/s0025_reverse_nodes_in_k_group) [C#](src/main/csharp/g0001_0100/s0025_reverse_nodes_in_k_group) [Go](src/main/go/g0001_0100/s0025_reverse_nodes_in_k_group) [Cpp](src/main/cpp/g0001_0100/s0025_reverse_nodes_in_k_group) [Python](src/main/python/g0001_0100/s0025_reverse_nodes_in_k_group) [Swift](src/main/swift/g0001_0100/s0025_reverse_nodes_in_k_group) [Elixir](src/main/elixir/g0001_0100/s0025_reverse_nodes_in_k_group) [Rust](src/main/rust/g0001_0100/s0025_reverse_nodes_in_k_group) [Dart](src/main/dart/g0001_0100/s0025_reverse_nodes_in_k_group) [C](src/main/c/g0001_0100/s0025_reverse_nodes_in_k_group)| Hard | Top_100_Liked_Questions, Linked_List, Recursion, Big_O_Time_O(n)_Space_O(k) | 0 | 100.00 | 0146 |LRU Cache| [Java](src/main/java/g0101_0200/s0146_lru_cache) [Kotlin](src/main/kotlin/g0101_0200/s0146_lru_cache) [TypeScript](src/main/ts/g0101_0200/s0146_lru_cache) [Scala](src/main/scala/g0101_0200/s0146_lru_cache) [Ruby](src/main/ruby/g0101_0200/s0146_lru_cache) [PHP](src/main/php/g0101_0200/s0146_lru_cache) [C#](src/main/csharp/g0101_0200/s0146_lru_cache) [Go](src/main/go/g0101_0200/s0146_lru_cache) [Cpp](src/main/cpp/g0101_0200/s0146_lru_cache) [Python](src/main/python/g0101_0200/s0146_lru_cache) [Swift](src/main/swift/g0101_0200/s0146_lru_cache) [Elixir](src/main/elixir/g0101_0200/s0146_lru_cache) [Rust](src/main/rust/g0101_0200/s0146_lru_cache) [Dart](src/main/dart/g0101_0200/s0146_lru_cache) [C](src/main/c/g0101_0200/s0146_lru_cache)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Hash_Table, Design, Linked_List, Doubly_Linked_List, Big_O_Time_O(1)_Space_O(capacity) | 40 | 98.20 @@ -1265,12 +1265,12 @@ |-|-|-|-|-|-|- | 0094 |Binary Tree Inorder Traversal| [Java](src/main/java/g0001_0100/s0094_binary_tree_inorder_traversal) [Kotlin](src/main/kotlin/g0001_0100/s0094_binary_tree_inorder_traversal) [TypeScript](src/main/ts/g0001_0100/s0094_binary_tree_inorder_traversal) [Scala](src/main/scala/g0001_0100/s0094_binary_tree_inorder_traversal) [Ruby](src/main/ruby/g0001_0100/s0094_binary_tree_inorder_traversal) [PHP](src/main/php/g0001_0100/s0094_binary_tree_inorder_traversal) [C#](src/main/csharp/g0001_0100/s0094_binary_tree_inorder_traversal) [Go](src/main/go/g0001_0100/s0094_binary_tree_inorder_traversal) [Cpp](src/main/cpp/g0001_0100/s0094_binary_tree_inorder_traversal) [Python](src/main/python/g0001_0100/s0094_binary_tree_inorder_traversal) [Swift](src/main/swift/g0001_0100/s0094_binary_tree_inorder_traversal) [Elixir](src/main/elixir/g0001_0100/s0094_binary_tree_inorder_traversal) [Rust](src/main/rust/g0001_0100/s0094_binary_tree_inorder_traversal) [Dart](src/main/dart/g0001_0100/s0094_binary_tree_inorder_traversal) [C](src/main/c/g0001_0100/s0094_binary_tree_inorder_traversal)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Stack, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0102 |Binary Tree Level Order Traversal| [Java](src/main/java/g0101_0200/s0102_binary_tree_level_order_traversal) [Kotlin](src/main/kotlin/g0101_0200/s0102_binary_tree_level_order_traversal) [TypeScript](src/main/ts/g0101_0200/s0102_binary_tree_level_order_traversal) [Scala](src/main/scala/g0101_0200/s0102_binary_tree_level_order_traversal) [Ruby](src/main/ruby/g0101_0200/s0102_binary_tree_level_order_traversal) [PHP](src/main/php/g0101_0200/s0102_binary_tree_level_order_traversal) [C#](src/main/csharp/g0101_0200/s0102_binary_tree_level_order_traversal) [Go](src/main/go/g0101_0200/s0102_binary_tree_level_order_traversal) [Cpp](src/main/cpp/g0101_0200/s0102_binary_tree_level_order_traversal) [Python](src/main/python/g0101_0200/s0102_binary_tree_level_order_traversal) [Swift](src/main/swift/g0101_0200/s0102_binary_tree_level_order_traversal) [Elixir](src/main/elixir/g0101_0200/s0102_binary_tree_level_order_traversal) [Rust](src/main/rust/g0101_0200/s0102_binary_tree_level_order_traversal) [Dart](src/main/dart/g0101_0200/s0102_binary_tree_level_order_traversal) [C](src/main/c/g0101_0200/s0102_binary_tree_level_order_traversal)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 1 | 91.19 -| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 +| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0226 |Invert Binary Tree| [Java](src/main/java/g0201_0300/s0226_invert_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0226_invert_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0226_invert_binary_tree) [Scala](src/main/scala/g0201_0300/s0226_invert_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0226_invert_binary_tree) [PHP](src/main/php/g0201_0300/s0226_invert_binary_tree) [C#](src/main/csharp/g0201_0300/s0226_invert_binary_tree) [Go](src/main/go/g0201_0300/s0226_invert_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0226_invert_binary_tree) [Python](src/main/python/g0201_0300/s0226_invert_binary_tree) [Swift](src/main/swift/g0201_0300/s0226_invert_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0226_invert_binary_tree) [Rust](src/main/rust/g0201_0300/s0226_invert_binary_tree) [Dart](src/main/dart/g0201_0300/s0226_invert_binary_tree) [C](src/main/c/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0104 |Maximum Depth of Binary Tree| [Java](src/main/java/g0101_0200/s0104_maximum_depth_of_binary_tree) [Kotlin](src/main/kotlin/g0101_0200/s0104_maximum_depth_of_binary_tree) [TypeScript](src/main/ts/g0101_0200/s0104_maximum_depth_of_binary_tree) [Scala](src/main/scala/g0101_0200/s0104_maximum_depth_of_binary_tree) [Ruby](src/main/ruby/g0101_0200/s0104_maximum_depth_of_binary_tree) [PHP](src/main/php/g0101_0200/s0104_maximum_depth_of_binary_tree) [C#](src/main/csharp/g0101_0200/s0104_maximum_depth_of_binary_tree) [Go](src/main/go/g0101_0200/s0104_maximum_depth_of_binary_tree) [Cpp](src/main/cpp/g0101_0200/s0104_maximum_depth_of_binary_tree) [Python](src/main/python/g0101_0200/s0104_maximum_depth_of_binary_tree) [Swift](src/main/swift/g0101_0200/s0104_maximum_depth_of_binary_tree) [Elixir](src/main/elixir/g0101_0200/s0104_maximum_depth_of_binary_tree) [Rust](src/main/rust/g0101_0200/s0104_maximum_depth_of_binary_tree) [Dart](src/main/dart/g0101_0200/s0104_maximum_depth_of_binary_tree) [C](src/main/c/g0101_0200/s0104_maximum_depth_of_binary_tree)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(H) | 0 | 100.00 | 0124 |Binary Tree Maximum Path Sum| [Java](src/main/java/g0101_0200/s0124_binary_tree_maximum_path_sum) [Kotlin](src/main/kotlin/g0101_0200/s0124_binary_tree_maximum_path_sum) [TypeScript](src/main/ts/g0101_0200/s0124_binary_tree_maximum_path_sum) [Scala](src/main/scala/g0101_0200/s0124_binary_tree_maximum_path_sum) [Ruby](src/main/ruby/g0101_0200/s0124_binary_tree_maximum_path_sum) [PHP](src/main/php/g0101_0200/s0124_binary_tree_maximum_path_sum) [C#](src/main/csharp/g0101_0200/s0124_binary_tree_maximum_path_sum) [Go](src/main/go/g0101_0200/s0124_binary_tree_maximum_path_sum) [Cpp](src/main/cpp/g0101_0200/s0124_binary_tree_maximum_path_sum) [Python](src/main/python/g0101_0200/s0124_binary_tree_maximum_path_sum) [Swift](src/main/swift/g0101_0200/s0124_binary_tree_maximum_path_sum) [Elixir](src/main/elixir/g0101_0200/s0124_binary_tree_maximum_path_sum) [Rust](src/main/rust/g0101_0200/s0124_binary_tree_maximum_path_sum) [Dart](src/main/dart/g0101_0200/s0124_binary_tree_maximum_path_sum) [C](src/main/c/g0101_0200/s0124_binary_tree_maximum_path_sum)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(N)_Space_O(N) | 0 | 100.00 | 0098 |Validate Binary Search Tree| [Java](src/main/java/g0001_0100/s0098_validate_binary_search_tree) [Kotlin](src/main/kotlin/g0001_0100/s0098_validate_binary_search_tree) [TypeScript](src/main/ts/g0001_0100/s0098_validate_binary_search_tree) [Scala](src/main/scala/g0001_0100/s0098_validate_binary_search_tree) [Ruby](src/main/ruby/g0001_0100/s0098_validate_binary_search_tree) [PHP](src/main/php/g0001_0100/s0098_validate_binary_search_tree) [C#](src/main/csharp/g0001_0100/s0098_validate_binary_search_tree) [Go](src/main/go/g0001_0100/s0098_validate_binary_search_tree) [Cpp](src/main/cpp/g0001_0100/s0098_validate_binary_search_tree) [Python](src/main/python/g0001_0100/s0098_validate_binary_search_tree) [Swift](src/main/swift/g0001_0100/s0098_validate_binary_search_tree) [Elixir](src/main/elixir/g0001_0100/s0098_validate_binary_search_tree) [Rust](src/main/rust/g0001_0100/s0098_validate_binary_search_tree) [Dart](src/main/dart/g0001_0100/s0098_validate_binary_search_tree) [C](src/main/c/g0001_0100/s0098_validate_binary_search_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Big_O_Time_O(N)_Space_O(log(N)) | 0 | 100.00 -| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 +| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Big_O_Time_O(n)_Space_O(n) | 6 | 100.00 #### Udemy Trie and Heap @@ -1293,8 +1293,8 @@ | 0198 |House Robber| [Java](src/main/java/g0101_0200/s0198_house_robber) [Kotlin](src/main/kotlin/g0101_0200/s0198_house_robber) [TypeScript](src/main/ts/g0101_0200/s0198_house_robber) [Scala](src/main/scala/g0101_0200/s0198_house_robber) [Ruby](src/main/ruby/g0101_0200/s0198_house_robber) [PHP](src/main/php/g0101_0200/s0198_house_robber) [C#](src/main/csharp/g0101_0200/s0198_house_robber) [Go](src/main/go/g0101_0200/s0198_house_robber) [Cpp](src/main/cpp/g0101_0200/s0198_house_robber) [Python](src/main/python/g0101_0200/s0198_house_robber) [Swift](src/main/swift/g0101_0200/s0198_house_robber) [Elixir](src/main/elixir/g0101_0200/s0198_house_robber) [Rust](src/main/rust/g0101_0200/s0198_house_robber) [Dart](src/main/dart/g0101_0200/s0198_house_robber) [C](src/main/c/g0101_0200/s0198_house_robber)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Dynamic_Programming, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0070 |Climbing Stairs| [Java](src/main/java/g0001_0100/s0070_climbing_stairs) [Kotlin](src/main/kotlin/g0001_0100/s0070_climbing_stairs) [TypeScript](src/main/ts/g0001_0100/s0070_climbing_stairs) [Scala](src/main/scala/g0001_0100/s0070_climbing_stairs) [Ruby](src/main/ruby/g0001_0100/s0070_climbing_stairs) [PHP](src/main/php/g0001_0100/s0070_climbing_stairs) [C#](src/main/csharp/g0001_0100/s0070_climbing_stairs) [Go](src/main/go/g0001_0100/s0070_climbing_stairs) [Cpp](src/main/cpp/g0001_0100/s0070_climbing_stairs) [Python](src/main/python/g0001_0100/s0070_climbing_stairs) [Swift](src/main/swift/g0001_0100/s0070_climbing_stairs) [Elixir](src/main/elixir/g0001_0100/s0070_climbing_stairs) [Rust](src/main/rust/g0001_0100/s0070_climbing_stairs) [Dart](src/main/dart/g0001_0100/s0070_climbing_stairs) [C](src/main/c/g0001_0100/s0070_climbing_stairs)| Easy | Top_100_Liked_Questions, Top_Interview_Questions, Dynamic_Programming, Math, Memoization, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0064 |Minimum Path Sum| [Java](src/main/java/g0001_0100/s0064_minimum_path_sum) [Kotlin](src/main/kotlin/g0001_0100/s0064_minimum_path_sum) [TypeScript](src/main/ts/g0001_0100/s0064_minimum_path_sum) [Scala](src/main/scala/g0001_0100/s0064_minimum_path_sum) [Ruby](src/main/ruby/g0001_0100/s0064_minimum_path_sum) [PHP](src/main/php/g0001_0100/s0064_minimum_path_sum) [C#](src/main/csharp/g0001_0100/s0064_minimum_path_sum) [Go](src/main/go/g0001_0100/s0064_minimum_path_sum) [Cpp](src/main/cpp/g0001_0100/s0064_minimum_path_sum) [Python](src/main/python/g0001_0100/s0064_minimum_path_sum) [Swift](src/main/swift/g0001_0100/s0064_minimum_path_sum) [Elixir](src/main/elixir/g0001_0100/s0064_minimum_path_sum) [Rust](src/main/rust/g0001_0100/s0064_minimum_path_sum) [Dart](src/main/dart/g0001_0100/s0064_minimum_path_sum) [C](src/main/c/g0001_0100/s0064_minimum_path_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Matrix, Big_O_Time_O(m\*n)_Space_O(m\*n) | 1 | 99.73 -| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 98.63 -| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 33 | 46.23 +| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 95.75 +| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 19 | 89.05 | 0072 |Edit Distance| [Java](src/main/java/g0001_0100/s0072_edit_distance) [Kotlin](src/main/kotlin/g0001_0100/s0072_edit_distance) [TypeScript](src/main/ts/g0001_0100/s0072_edit_distance) [Scala](src/main/scala/g0001_0100/s0072_edit_distance) [Ruby](src/main/ruby/g0001_0100/s0072_edit_distance) [PHP](src/main/php/g0001_0100/s0072_edit_distance) [C#](src/main/csharp/g0001_0100/s0072_edit_distance) [Go](src/main/go/g0001_0100/s0072_edit_distance) [Cpp](src/main/cpp/g0001_0100/s0072_edit_distance) [Python](src/main/python/g0001_0100/s0072_edit_distance) [Swift](src/main/swift/g0001_0100/s0072_edit_distance) [Elixir](src/main/elixir/g0001_0100/s0072_edit_distance) [Rust](src/main/rust/g0001_0100/s0072_edit_distance) [Dart](src/main/dart/g0001_0100/s0072_edit_distance) [C](src/main/c/g0001_0100/s0072_edit_distance)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n2) | 3 | 97.19 | 0010 |Regular Expression Matching| [Java](src/main/java/g0001_0100/s0010_regular_expression_matching) [Kotlin](src/main/kotlin/g0001_0100/s0010_regular_expression_matching) [TypeScript](src/main/ts/g0001_0100/s0010_regular_expression_matching) [Scala](src/main/scala/g0001_0100/s0010_regular_expression_matching) [Ruby](src/main/ruby/g0001_0100/s0010_regular_expression_matching) [PHP](src/main/php/g0001_0100/s0010_regular_expression_matching) [C#](src/main/csharp/g0001_0100/s0010_regular_expression_matching) [Go](src/main/go/g0001_0100/s0010_regular_expression_matching) [Cpp](src/main/cpp/g0001_0100/s0010_regular_expression_matching) [Python](src/main/python/g0001_0100/s0010_regular_expression_matching) [Swift](src/main/swift/g0001_0100/s0010_regular_expression_matching) [Elixir](src/main/elixir/g0001_0100/s0010_regular_expression_matching) [Rust](src/main/rust/g0001_0100/s0010_regular_expression_matching) [Dart](src/main/dart/g0001_0100/s0010_regular_expression_matching) [C](src/main/c/g0001_0100/s0010_regular_expression_matching)| Hard | Top_Interview_Questions, String, Dynamic_Programming, Recursion, Big_O_Time_O(m\*n)_Space_O(m\*n) | 1 | 100.00 @@ -1312,7 +1312,7 @@ | | | | | | | |-|-|-|-|-|-|- -| 0338 |Counting Bits| [Java](src/main/java/g0301_0400/s0338_counting_bits) [Kotlin](src/main/kotlin/g0301_0400/s0338_counting_bits) [TypeScript](src/main/ts/g0301_0400/s0338_counting_bits) [Scala](src/main/scala/g0301_0400/s0338_counting_bits) [Ruby](src/main/ruby/g0301_0400/s0338_counting_bits) [PHP](src/main/php/g0301_0400/s0338_counting_bits) [C#](src/main/csharp/g0301_0400/s0338_counting_bits) [Go](src/main/go/g0301_0400/s0338_counting_bits) [Cpp](src/main/cpp/g0301_0400/s0338_counting_bits) [Python](src/main/python/g0301_0400/s0338_counting_bits) [Swift](src/main/swift/g0301_0400/s0338_counting_bits) [Elixir](src/main/elixir/g0301_0400/s0338_counting_bits) [Rust](src/main/rust/g0301_0400/s0338_counting_bits) [Dart](src/main/dart/g0301_0400/s0338_counting_bits) [C](src/main/c/g0301_0400/s0338_counting_bits)| Easy | Dynamic_Programming, Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 86.73 +| 0338 |Counting Bits| [Java](src/main/java/g0301_0400/s0338_counting_bits) [Kotlin](src/main/kotlin/g0301_0400/s0338_counting_bits) [TypeScript](src/main/ts/g0301_0400/s0338_counting_bits) [Scala](src/main/scala/g0301_0400/s0338_counting_bits) [Ruby](src/main/ruby/g0301_0400/s0338_counting_bits) [PHP](src/main/php/g0301_0400/s0338_counting_bits) [C#](src/main/csharp/g0301_0400/s0338_counting_bits) [Go](src/main/go/g0301_0400/s0338_counting_bits) [Cpp](src/main/cpp/g0301_0400/s0338_counting_bits) [Python](src/main/python/g0301_0400/s0338_counting_bits) [Swift](src/main/swift/g0301_0400/s0338_counting_bits) [Elixir](src/main/elixir/g0301_0400/s0338_counting_bits) [Rust](src/main/rust/g0301_0400/s0338_counting_bits) [Dart](src/main/dart/g0301_0400/s0338_counting_bits) [C](src/main/c/g0301_0400/s0338_counting_bits)| Easy | Dynamic_Programming, Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 96.37 #### Udemy Design @@ -1410,32 +1410,32 @@ | # | Title | Language | Difficulty | Tag | Time, ms | Time, % |------|----------------|-----------|-------------|-------------|----------|--------- -| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Algorithm_II_Day_17_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 33 | 46.23 -| 0763 |Partition Labels| [Java](src/main/java/g0701_0800/s0763_partition_labels) [Kotlin](src/main/kotlin/g0701_0800/s0763_partition_labels) [TypeScript](src/main/ts/g0701_0800/s0763_partition_labels) [Scala](src/main/scala/g0701_0800/s0763_partition_labels) [Ruby](src/main/ruby/g0701_0800/s0763_partition_labels) [PHP](src/main/php/g0701_0800/s0763_partition_labels) [C#](src/main/csharp/g0701_0800/s0763_partition_labels) [Go](src/main/go/g0701_0800/s0763_partition_labels) [Cpp](src/main/cpp/g0701_0800/s0763_partition_labels) [Python](src/main/python/g0701_0800/s0763_partition_labels) [Swift](src/main/swift/g0701_0800/s0763_partition_labels) [Elixir](src/main/elixir/g0701_0800/s0763_partition_labels) [Rust](src/main/rust/g0701_0800/s0763_partition_labels) [Dart](src/main/dart/g0701_0800/s0763_partition_labels) [C](src/main/c/g0701_0800/s0763_partition_labels)| Medium | String, Hash_Table, Greedy, Two_Pointers, Data_Structure_II_Day_7_String, Big_O_Time_O(n)_Space_O(1) | 1 | 100.00 -| 0739 |Daily Temperatures| [Java](src/main/java/g0701_0800/s0739_daily_temperatures) [Kotlin](src/main/kotlin/g0701_0800/s0739_daily_temperatures) [TypeScript](src/main/ts/g0701_0800/s0739_daily_temperatures) [Scala](src/main/scala/g0701_0800/s0739_daily_temperatures) [Ruby](src/main/ruby/g0701_0800/s0739_daily_temperatures) [PHP](src/main/php/g0701_0800/s0739_daily_temperatures) [C#](src/main/csharp/g0701_0800/s0739_daily_temperatures) [Go](src/main/go/g0701_0800/s0739_daily_temperatures) [Cpp](src/main/cpp/g0701_0800/s0739_daily_temperatures) [Python](src/main/python/g0701_0800/s0739_daily_temperatures) [Swift](src/main/swift/g0701_0800/s0739_daily_temperatures) [Elixir](src/main/elixir/g0701_0800/s0739_daily_temperatures) [Rust](src/main/rust/g0701_0800/s0739_daily_temperatures) [Dart](src/main/dart/g0701_0800/s0739_daily_temperatures) [C](src/main/c/g0701_0800/s0739_daily_temperatures)| Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Programming_Skills_II_Day_6, Big_O_Time_O(n)_Space_O(n) | 10 | 94.99 -| 0647 |Palindromic Substrings| [Java](src/main/java/g0601_0700/s0647_palindromic_substrings) [Kotlin](src/main/kotlin/g0601_0700/s0647_palindromic_substrings) [TypeScript](src/main/ts/g0601_0700/s0647_palindromic_substrings) [Scala](src/main/scala/g0601_0700/s0647_palindromic_substrings) [Ruby](src/main/ruby/g0601_0700/s0647_palindromic_substrings) [PHP](src/main/php/g0601_0700/s0647_palindromic_substrings) [C#](src/main/csharp/g0601_0700/s0647_palindromic_substrings) [Go](src/main/go/g0601_0700/s0647_palindromic_substrings) [Cpp](src/main/cpp/g0601_0700/s0647_palindromic_substrings) [Python](src/main/python/g0601_0700/s0647_palindromic_substrings) [Swift](src/main/swift/g0601_0700/s0647_palindromic_substrings) [Elixir](src/main/elixir/g0601_0700/s0647_palindromic_substrings) [Rust](src/main/rust/g0601_0700/s0647_palindromic_substrings) [Dart](src/main/dart/g0601_0700/s0647_palindromic_substrings) [C](src/main/c/g0601_0700/s0647_palindromic_substrings)| Medium | String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n) | 2 | 98.77 -| 0560 |Subarray Sum Equals K| [Java](src/main/java/g0501_0600/s0560_subarray_sum_equals_k) [Kotlin](src/main/kotlin/g0501_0600/s0560_subarray_sum_equals_k) [TypeScript](src/main/ts/g0501_0600/s0560_subarray_sum_equals_k) [Scala](src/main/scala/g0501_0600/s0560_subarray_sum_equals_k) [Ruby](src/main/ruby/g0501_0600/s0560_subarray_sum_equals_k) [PHP](src/main/php/g0501_0600/s0560_subarray_sum_equals_k) [C#](src/main/csharp/g0501_0600/s0560_subarray_sum_equals_k) [Go](src/main/go/g0501_0600/s0560_subarray_sum_equals_k) [Cpp](src/main/cpp/g0501_0600/s0560_subarray_sum_equals_k) [Python](src/main/python/g0501_0600/s0560_subarray_sum_equals_k) [Swift](src/main/swift/g0501_0600/s0560_subarray_sum_equals_k) [Elixir](src/main/elixir/g0501_0600/s0560_subarray_sum_equals_k) [Rust](src/main/rust/g0501_0600/s0560_subarray_sum_equals_k) [Dart](src/main/dart/g0501_0600/s0560_subarray_sum_equals_k) [C](src/main/c/g0501_0600/s0560_subarray_sum_equals_k)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Data_Structure_II_Day_5_Array, Big_O_Time_O(n)_Space_O(n) | 21 | 98.97 -| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 1 | 65.86 -| 0494 |Target Sum| [Java](src/main/java/g0401_0500/s0494_target_sum) [Kotlin](src/main/kotlin/g0401_0500/s0494_target_sum) [TypeScript](src/main/ts/g0401_0500/s0494_target_sum) [Scala](src/main/scala/g0401_0500/s0494_target_sum) [Ruby](src/main/ruby/g0401_0500/s0494_target_sum) [PHP](src/main/php/g0401_0500/s0494_target_sum) [C#](src/main/csharp/g0401_0500/s0494_target_sum) [Go](src/main/go/g0401_0500/s0494_target_sum) [Cpp](src/main/cpp/g0401_0500/s0494_target_sum) [Python](src/main/python/g0401_0500/s0494_target_sum) [Swift](src/main/swift/g0401_0500/s0494_target_sum) [Elixir](src/main/elixir/g0401_0500/s0494_target_sum) [Rust](src/main/rust/g0401_0500/s0494_target_sum) [Dart](src/main/dart/g0401_0500/s0494_target_sum) [C](src/main/c/g0401_0500/s0494_target_sum)| Medium | Array, Dynamic_Programming, Backtracking, Big_O_Time_O(n\*(sum+s))_Space_O(n\*(sum+s)) | 9 | 79.99 -| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Level_1_Day_12_Sliding_Window/Two_Pointer, Big_O_Time_O(n+m)_Space_O(1) | 6 | 99.03 -| 0437 |Path Sum III| [Java](src/main/java/g0401_0500/s0437_path_sum_iii) [Kotlin](src/main/kotlin/g0401_0500/s0437_path_sum_iii) [TypeScript](src/main/ts/g0401_0500/s0437_path_sum_iii) [Scala](src/main/scala/g0401_0500/s0437_path_sum_iii) [Ruby](src/main/ruby/g0401_0500/s0437_path_sum_iii) [PHP](src/main/php/g0401_0500/s0437_path_sum_iii) [C#](src/main/csharp/g0401_0500/s0437_path_sum_iii) [Go](src/main/go/g0401_0500/s0437_path_sum_iii) [Cpp](src/main/cpp/g0401_0500/s0437_path_sum_iii) [Python](src/main/python/g0401_0500/s0437_path_sum_iii) [Swift](src/main/swift/g0401_0500/s0437_path_sum_iii) [Elixir](src/main/elixir/g0401_0500/s0437_path_sum_iii) [Rust](src/main/rust/g0401_0500/s0437_path_sum_iii) [Dart](src/main/dart/g0401_0500/s0437_path_sum_iii) [C](src/main/c/g0401_0500/s0437_path_sum_iii)| Medium | Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Big_O_Time_O(n)_Space_O(n) | 18 | 45.66 -| 0416 |Partition Equal Subset Sum| [Java](src/main/java/g0401_0500/s0416_partition_equal_subset_sum) [Kotlin](src/main/kotlin/g0401_0500/s0416_partition_equal_subset_sum) [TypeScript](src/main/ts/g0401_0500/s0416_partition_equal_subset_sum) [Scala](src/main/scala/g0401_0500/s0416_partition_equal_subset_sum) [Ruby](src/main/ruby/g0401_0500/s0416_partition_equal_subset_sum) [PHP](src/main/php/g0401_0500/s0416_partition_equal_subset_sum) [C#](src/main/csharp/g0401_0500/s0416_partition_equal_subset_sum) [Go](src/main/go/g0401_0500/s0416_partition_equal_subset_sum) [Cpp](src/main/cpp/g0401_0500/s0416_partition_equal_subset_sum) [Python](src/main/python/g0401_0500/s0416_partition_equal_subset_sum) [Swift](src/main/swift/g0401_0500/s0416_partition_equal_subset_sum) [Elixir](src/main/elixir/g0401_0500/s0416_partition_equal_subset_sum) [Rust](src/main/rust/g0401_0500/s0416_partition_equal_subset_sum) [Dart](src/main/dart/g0401_0500/s0416_partition_equal_subset_sum) [C](src/main/c/g0401_0500/s0416_partition_equal_subset_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n\*sums)_Space_O(n\*sums) | 27 | 94.53 -| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 1 | 87.68 -| 0347 |Top K Frequent Elements| [Java](src/main/java/g0301_0400/s0347_top_k_frequent_elements) [Kotlin](src/main/kotlin/g0301_0400/s0347_top_k_frequent_elements) [TypeScript](src/main/ts/g0301_0400/s0347_top_k_frequent_elements) [Scala](src/main/scala/g0301_0400/s0347_top_k_frequent_elements) [Ruby](src/main/ruby/g0301_0400/s0347_top_k_frequent_elements) [PHP](src/main/php/g0301_0400/s0347_top_k_frequent_elements) [C#](src/main/csharp/g0301_0400/s0347_top_k_frequent_elements) [Go](src/main/go/g0301_0400/s0347_top_k_frequent_elements) [Cpp](src/main/cpp/g0301_0400/s0347_top_k_frequent_elements) [Python](src/main/python/g0301_0400/s0347_top_k_frequent_elements) [Swift](src/main/swift/g0301_0400/s0347_top_k_frequent_elements) [Elixir](src/main/elixir/g0301_0400/s0347_top_k_frequent_elements) [Rust](src/main/rust/g0301_0400/s0347_top_k_frequent_elements) [Dart](src/main/dart/g0301_0400/s0347_top_k_frequent_elements) [C](src/main/c/g0301_0400/s0347_top_k_frequent_elements)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\*log(n))_Space_O(k) | 9 | 97.93 -| 0338 |Counting Bits| [Java](src/main/java/g0301_0400/s0338_counting_bits) [Kotlin](src/main/kotlin/g0301_0400/s0338_counting_bits) [TypeScript](src/main/ts/g0301_0400/s0338_counting_bits) [Scala](src/main/scala/g0301_0400/s0338_counting_bits) [Ruby](src/main/ruby/g0301_0400/s0338_counting_bits) [PHP](src/main/php/g0301_0400/s0338_counting_bits) [C#](src/main/csharp/g0301_0400/s0338_counting_bits) [Go](src/main/go/g0301_0400/s0338_counting_bits) [Cpp](src/main/cpp/g0301_0400/s0338_counting_bits) [Python](src/main/python/g0301_0400/s0338_counting_bits) [Swift](src/main/swift/g0301_0400/s0338_counting_bits) [Elixir](src/main/elixir/g0301_0400/s0338_counting_bits) [Rust](src/main/rust/g0301_0400/s0338_counting_bits) [Dart](src/main/dart/g0301_0400/s0338_counting_bits) [C](src/main/c/g0301_0400/s0338_counting_bits)| Easy | Dynamic_Programming, Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 86.73 -| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Big_O_Time_O(m\*n)_Space_O(amount) | 17 | 91.77 -| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Algorithm_II_Day_16_Dynamic_Programming, Binary_Search_II_Day_3, Dynamic_Programming_I_Day_18, Udemy_Dynamic_Programming, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 98.63 -| 0295 |Find Median from Data Stream| [Java](src/main/java/g0201_0300/s0295_find_median_from_data_stream) [Kotlin](src/main/kotlin/g0201_0300/s0295_find_median_from_data_stream) [TypeScript](src/main/ts/g0201_0300/s0295_find_median_from_data_stream) [Scala](src/main/scala/g0201_0300/s0295_find_median_from_data_stream) [Ruby](src/main/ruby/g0201_0300/s0295_find_median_from_data_stream) [PHP](src/main/php/g0201_0300/s0295_find_median_from_data_stream) [C#](src/main/csharp/g0201_0300/s0295_find_median_from_data_stream) [Go](src/main/go/g0201_0300/s0295_find_median_from_data_stream) [Cpp](src/main/cpp/g0201_0300/s0295_find_median_from_data_stream) [Python](src/main/python/g0201_0300/s0295_find_median_from_data_stream) [Swift](src/main/swift/g0201_0300/s0295_find_median_from_data_stream) [Elixir](src/main/elixir/g0201_0300/s0295_find_median_from_data_stream) [Rust](src/main/rust/g0201_0300/s0295_find_median_from_data_stream) [Dart](src/main/dart/g0201_0300/s0295_find_median_from_data_stream) [C](src/main/c/g0201_0300/s0295_find_median_from_data_stream)| Hard | Top_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n\*log_n)_Space_O(n) | 151 | 80.24 -| 0287 |Find the Duplicate Number| [Java](src/main/java/g0201_0300/s0287_find_the_duplicate_number) [Kotlin](src/main/kotlin/g0201_0300/s0287_find_the_duplicate_number) [TypeScript](src/main/ts/g0201_0300/s0287_find_the_duplicate_number) [Scala](src/main/scala/g0201_0300/s0287_find_the_duplicate_number) [Ruby](src/main/ruby/g0201_0300/s0287_find_the_duplicate_number) [PHP](src/main/php/g0201_0300/s0287_find_the_duplicate_number) [C#](src/main/csharp/g0201_0300/s0287_find_the_duplicate_number) [Go](src/main/go/g0201_0300/s0287_find_the_duplicate_number) [Cpp](src/main/cpp/g0201_0300/s0287_find_the_duplicate_number) [Python](src/main/python/g0201_0300/s0287_find_the_duplicate_number) [Swift](src/main/swift/g0201_0300/s0287_find_the_duplicate_number) [Elixir](src/main/elixir/g0201_0300/s0287_find_the_duplicate_number) [Rust](src/main/rust/g0201_0300/s0287_find_the_duplicate_number) [Dart](src/main/dart/g0201_0300/s0287_find_the_duplicate_number) [C](src/main/c/g0201_0300/s0287_find_the_duplicate_number)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_Space_O(n) | 2 | 99.82 -| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 2 | 79.54 -| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_Space_O(1) | 7 | 86.73 -| 0239 |Sliding Window Maximum| [Java](src/main/java/g0201_0300/s0239_sliding_window_maximum) [Kotlin](src/main/kotlin/g0201_0300/s0239_sliding_window_maximum) [TypeScript](src/main/ts/g0201_0300/s0239_sliding_window_maximum) [Scala](src/main/scala/g0201_0300/s0239_sliding_window_maximum) [Ruby](src/main/ruby/g0201_0300/s0239_sliding_window_maximum) [PHP](src/main/php/g0201_0300/s0239_sliding_window_maximum) [C#](src/main/csharp/g0201_0300/s0239_sliding_window_maximum) [Go](src/main/go/g0201_0300/s0239_sliding_window_maximum) [Cpp](src/main/cpp/g0201_0300/s0239_sliding_window_maximum) [Python](src/main/python/g0201_0300/s0239_sliding_window_maximum) [Swift](src/main/swift/g0201_0300/s0239_sliding_window_maximum) [Elixir](src/main/elixir/g0201_0300/s0239_sliding_window_maximum) [Rust](src/main/rust/g0201_0300/s0239_sliding_window_maximum) [Dart](src/main/dart/g0201_0300/s0239_sliding_window_maximum) [C](src/main/c/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n\*k)_Space_O(n+k) | 58 | 52.28 -| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Big_O_Time_O(n^2)_Space_O(n) | 1 | 100.00 -| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 10 | 56.51 -| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1) | 6 | 76.07 -| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 1 | 78.91 +| 1143 |Longest Common Subsequence| [Java](src/main/java/g1101_1200/s1143_longest_common_subsequence) [Kotlin](src/main/kotlin/g1101_1200/s1143_longest_common_subsequence) [TypeScript](src/main/ts/g1101_1200/s1143_longest_common_subsequence) [Scala](src/main/scala/g1101_1200/s1143_longest_common_subsequence) [Ruby](src/main/ruby/g1101_1200/s1143_longest_common_subsequence) [PHP](src/main/php/g1101_1200/s1143_longest_common_subsequence) [C#](src/main/csharp/g1101_1200/s1143_longest_common_subsequence) [Go](src/main/go/g1101_1200/s1143_longest_common_subsequence) [Cpp](src/main/cpp/g1101_1200/s1143_longest_common_subsequence) [Python](src/main/python/g1101_1200/s1143_longest_common_subsequence) [Swift](src/main/swift/g1101_1200/s1143_longest_common_subsequence) [Elixir](src/main/elixir/g1101_1200/s1143_longest_common_subsequence) [Rust](src/main/rust/g1101_1200/s1143_longest_common_subsequence) [Dart](src/main/dart/g1101_1200/s1143_longest_common_subsequence) [C](src/main/c/g1101_1200/s1143_longest_common_subsequence)| Medium | Top_100_Liked_Questions, String, Dynamic_Programming, Algorithm_II_Day_17_Dynamic_Programming, Dynamic_Programming_I_Day_19, Udemy_Dynamic_Programming, Big_O_Time_O(n\*m)_Space_O(n\*m) | 19 | 89.05 +| 0763 |Partition Labels| [Java](src/main/java/g0701_0800/s0763_partition_labels) [Kotlin](src/main/kotlin/g0701_0800/s0763_partition_labels) [TypeScript](src/main/ts/g0701_0800/s0763_partition_labels) [Scala](src/main/scala/g0701_0800/s0763_partition_labels) [Ruby](src/main/ruby/g0701_0800/s0763_partition_labels) [PHP](src/main/php/g0701_0800/s0763_partition_labels) [C#](src/main/csharp/g0701_0800/s0763_partition_labels) [Go](src/main/go/g0701_0800/s0763_partition_labels) [Cpp](src/main/cpp/g0701_0800/s0763_partition_labels) [Python](src/main/python/g0701_0800/s0763_partition_labels) [Swift](src/main/swift/g0701_0800/s0763_partition_labels) [Elixir](src/main/elixir/g0701_0800/s0763_partition_labels) [Rust](src/main/rust/g0701_0800/s0763_partition_labels) [Dart](src/main/dart/g0701_0800/s0763_partition_labels) [C](src/main/c/g0701_0800/s0763_partition_labels)| Medium | String, Hash_Table, Greedy, Two_Pointers, Data_Structure_II_Day_7_String, Big_O_Time_O(n)_Space_O(1) | 2 | 100.00 +| 0739 |Daily Temperatures| [Java](src/main/java/g0701_0800/s0739_daily_temperatures) [Kotlin](src/main/kotlin/g0701_0800/s0739_daily_temperatures) [TypeScript](src/main/ts/g0701_0800/s0739_daily_temperatures) [Scala](src/main/scala/g0701_0800/s0739_daily_temperatures) [Ruby](src/main/ruby/g0701_0800/s0739_daily_temperatures) [PHP](src/main/php/g0701_0800/s0739_daily_temperatures) [C#](src/main/csharp/g0701_0800/s0739_daily_temperatures) [Go](src/main/go/g0701_0800/s0739_daily_temperatures) [Cpp](src/main/cpp/g0701_0800/s0739_daily_temperatures) [Python](src/main/python/g0701_0800/s0739_daily_temperatures) [Swift](src/main/swift/g0701_0800/s0739_daily_temperatures) [Elixir](src/main/elixir/g0701_0800/s0739_daily_temperatures) [Rust](src/main/rust/g0701_0800/s0739_daily_temperatures) [Dart](src/main/dart/g0701_0800/s0739_daily_temperatures) [C](src/main/c/g0701_0800/s0739_daily_temperatures)| Medium | Top_100_Liked_Questions, Array, Stack, Monotonic_Stack, Programming_Skills_II_Day_6, Big_O_Time_O(n)_Space_O(n) | 8 | 96.83 +| 0647 |Palindromic Substrings| [Java](src/main/java/g0601_0700/s0647_palindromic_substrings) [Kotlin](src/main/kotlin/g0601_0700/s0647_palindromic_substrings) [TypeScript](src/main/ts/g0601_0700/s0647_palindromic_substrings) [Scala](src/main/scala/g0601_0700/s0647_palindromic_substrings) [Ruby](src/main/ruby/g0601_0700/s0647_palindromic_substrings) [PHP](src/main/php/g0601_0700/s0647_palindromic_substrings) [C#](src/main/csharp/g0601_0700/s0647_palindromic_substrings) [Go](src/main/go/g0601_0700/s0647_palindromic_substrings) [Cpp](src/main/cpp/g0601_0700/s0647_palindromic_substrings) [Python](src/main/python/g0601_0700/s0647_palindromic_substrings) [Swift](src/main/swift/g0601_0700/s0647_palindromic_substrings) [Elixir](src/main/elixir/g0601_0700/s0647_palindromic_substrings) [Rust](src/main/rust/g0601_0700/s0647_palindromic_substrings) [Dart](src/main/dart/g0601_0700/s0647_palindromic_substrings) [C](src/main/c/g0601_0700/s0647_palindromic_substrings)| Medium | String, Dynamic_Programming, Big_O_Time_O(n^2)_Space_O(n) | 2 | 99.31 +| 0560 |Subarray Sum Equals K| [Java](src/main/java/g0501_0600/s0560_subarray_sum_equals_k) [Kotlin](src/main/kotlin/g0501_0600/s0560_subarray_sum_equals_k) [TypeScript](src/main/ts/g0501_0600/s0560_subarray_sum_equals_k) [Scala](src/main/scala/g0501_0600/s0560_subarray_sum_equals_k) [Ruby](src/main/ruby/g0501_0600/s0560_subarray_sum_equals_k) [PHP](src/main/php/g0501_0600/s0560_subarray_sum_equals_k) [C#](src/main/csharp/g0501_0600/s0560_subarray_sum_equals_k) [Go](src/main/go/g0501_0600/s0560_subarray_sum_equals_k) [Cpp](src/main/cpp/g0501_0600/s0560_subarray_sum_equals_k) [Python](src/main/python/g0501_0600/s0560_subarray_sum_equals_k) [Swift](src/main/swift/g0501_0600/s0560_subarray_sum_equals_k) [Elixir](src/main/elixir/g0501_0600/s0560_subarray_sum_equals_k) [Rust](src/main/rust/g0501_0600/s0560_subarray_sum_equals_k) [Dart](src/main/dart/g0501_0600/s0560_subarray_sum_equals_k) [C](src/main/c/g0501_0600/s0560_subarray_sum_equals_k)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Prefix_Sum, Data_Structure_II_Day_5_Array, Big_O_Time_O(n)_Space_O(n) | 22 | 95.17 +| 0543 |Diameter of Binary Tree| [Java](src/main/java/g0501_0600/s0543_diameter_of_binary_tree) [Kotlin](src/main/kotlin/g0501_0600/s0543_diameter_of_binary_tree) [TypeScript](src/main/ts/g0501_0600/s0543_diameter_of_binary_tree) [Scala](src/main/scala/g0501_0600/s0543_diameter_of_binary_tree) [Ruby](src/main/ruby/g0501_0600/s0543_diameter_of_binary_tree) [PHP](src/main/php/g0501_0600/s0543_diameter_of_binary_tree) [C#](src/main/csharp/g0501_0600/s0543_diameter_of_binary_tree) [Go](src/main/go/g0501_0600/s0543_diameter_of_binary_tree) [Cpp](src/main/cpp/g0501_0600/s0543_diameter_of_binary_tree) [Python](src/main/python/g0501_0600/s0543_diameter_of_binary_tree) [Swift](src/main/swift/g0501_0600/s0543_diameter_of_binary_tree) [Elixir](src/main/elixir/g0501_0600/s0543_diameter_of_binary_tree) [Rust](src/main/rust/g0501_0600/s0543_diameter_of_binary_tree) [Dart](src/main/dart/g0501_0600/s0543_diameter_of_binary_tree) [C](src/main/c/g0501_0600/s0543_diameter_of_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 +| 0494 |Target Sum| [Java](src/main/java/g0401_0500/s0494_target_sum) [Kotlin](src/main/kotlin/g0401_0500/s0494_target_sum) [TypeScript](src/main/ts/g0401_0500/s0494_target_sum) [Scala](src/main/scala/g0401_0500/s0494_target_sum) [Ruby](src/main/ruby/g0401_0500/s0494_target_sum) [PHP](src/main/php/g0401_0500/s0494_target_sum) [C#](src/main/csharp/g0401_0500/s0494_target_sum) [Go](src/main/go/g0401_0500/s0494_target_sum) [Cpp](src/main/cpp/g0401_0500/s0494_target_sum) [Python](src/main/python/g0401_0500/s0494_target_sum) [Swift](src/main/swift/g0401_0500/s0494_target_sum) [Elixir](src/main/elixir/g0401_0500/s0494_target_sum) [Rust](src/main/rust/g0401_0500/s0494_target_sum) [Dart](src/main/dart/g0401_0500/s0494_target_sum) [C](src/main/c/g0401_0500/s0494_target_sum)| Medium | Array, Dynamic_Programming, Backtracking, Big_O_Time_O(n\*(sum+s))_Space_O(n\*(sum+s)) | 4 | 92.28 +| 0438 |Find All Anagrams in a String| [Java](src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string) [Kotlin](src/main/kotlin/g0401_0500/s0438_find_all_anagrams_in_a_string) [TypeScript](src/main/ts/g0401_0500/s0438_find_all_anagrams_in_a_string) [Scala](src/main/scala/g0401_0500/s0438_find_all_anagrams_in_a_string) [Ruby](src/main/ruby/g0401_0500/s0438_find_all_anagrams_in_a_string) [PHP](src/main/php/g0401_0500/s0438_find_all_anagrams_in_a_string) [C#](src/main/csharp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Go](src/main/go/g0401_0500/s0438_find_all_anagrams_in_a_string) [Cpp](src/main/cpp/g0401_0500/s0438_find_all_anagrams_in_a_string) [Python](src/main/python/g0401_0500/s0438_find_all_anagrams_in_a_string) [Swift](src/main/swift/g0401_0500/s0438_find_all_anagrams_in_a_string) [Elixir](src/main/elixir/g0401_0500/s0438_find_all_anagrams_in_a_string) [Rust](src/main/rust/g0401_0500/s0438_find_all_anagrams_in_a_string) [Dart](src/main/dart/g0401_0500/s0438_find_all_anagrams_in_a_string) [C](src/main/c/g0401_0500/s0438_find_all_anagrams_in_a_string)| Medium | Top_100_Liked_Questions, String, Hash_Table, Sliding_Window, Algorithm_II_Day_5_Sliding_Window, Programming_Skills_II_Day_12, Level_1_Day_12_Sliding_Window/Two_Pointer, Big_O_Time_O(n+m)_Space_O(1) | 3 | 99.83 +| 0437 |Path Sum III| [Java](src/main/java/g0401_0500/s0437_path_sum_iii) [Kotlin](src/main/kotlin/g0401_0500/s0437_path_sum_iii) [TypeScript](src/main/ts/g0401_0500/s0437_path_sum_iii) [Scala](src/main/scala/g0401_0500/s0437_path_sum_iii) [Ruby](src/main/ruby/g0401_0500/s0437_path_sum_iii) [PHP](src/main/php/g0401_0500/s0437_path_sum_iii) [C#](src/main/csharp/g0401_0500/s0437_path_sum_iii) [Go](src/main/go/g0401_0500/s0437_path_sum_iii) [Cpp](src/main/cpp/g0401_0500/s0437_path_sum_iii) [Python](src/main/python/g0401_0500/s0437_path_sum_iii) [Swift](src/main/swift/g0401_0500/s0437_path_sum_iii) [Elixir](src/main/elixir/g0401_0500/s0437_path_sum_iii) [Rust](src/main/rust/g0401_0500/s0437_path_sum_iii) [Dart](src/main/dart/g0401_0500/s0437_path_sum_iii) [C](src/main/c/g0401_0500/s0437_path_sum_iii)| Medium | Depth_First_Search, Tree, Binary_Tree, Level_2_Day_7_Tree, Big_O_Time_O(n)_Space_O(n) | 2 | 100.00 +| 0416 |Partition Equal Subset Sum| [Java](src/main/java/g0401_0500/s0416_partition_equal_subset_sum) [Kotlin](src/main/kotlin/g0401_0500/s0416_partition_equal_subset_sum) [TypeScript](src/main/ts/g0401_0500/s0416_partition_equal_subset_sum) [Scala](src/main/scala/g0401_0500/s0416_partition_equal_subset_sum) [Ruby](src/main/ruby/g0401_0500/s0416_partition_equal_subset_sum) [PHP](src/main/php/g0401_0500/s0416_partition_equal_subset_sum) [C#](src/main/csharp/g0401_0500/s0416_partition_equal_subset_sum) [Go](src/main/go/g0401_0500/s0416_partition_equal_subset_sum) [Cpp](src/main/cpp/g0401_0500/s0416_partition_equal_subset_sum) [Python](src/main/python/g0401_0500/s0416_partition_equal_subset_sum) [Swift](src/main/swift/g0401_0500/s0416_partition_equal_subset_sum) [Elixir](src/main/elixir/g0401_0500/s0416_partition_equal_subset_sum) [Rust](src/main/rust/g0401_0500/s0416_partition_equal_subset_sum) [Dart](src/main/dart/g0401_0500/s0416_partition_equal_subset_sum) [C](src/main/c/g0401_0500/s0416_partition_equal_subset_sum)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Level_2_Day_13_Dynamic_Programming, Big_O_Time_O(n\*sums)_Space_O(n\*sums) | 5 | 99.88 +| 0394 |Decode String| [Java](src/main/java/g0301_0400/s0394_decode_string) [Kotlin](src/main/kotlin/g0301_0400/s0394_decode_string) [TypeScript](src/main/ts/g0301_0400/s0394_decode_string) [Scala](src/main/scala/g0301_0400/s0394_decode_string) [Ruby](src/main/ruby/g0301_0400/s0394_decode_string) [PHP](src/main/php/g0301_0400/s0394_decode_string) [C#](src/main/csharp/g0301_0400/s0394_decode_string) [Go](src/main/go/g0301_0400/s0394_decode_string) [Cpp](src/main/cpp/g0301_0400/s0394_decode_string) [Python](src/main/python/g0301_0400/s0394_decode_string) [Swift](src/main/swift/g0301_0400/s0394_decode_string) [Elixir](src/main/elixir/g0301_0400/s0394_decode_string) [Rust](src/main/rust/g0301_0400/s0394_decode_string) [Dart](src/main/dart/g0301_0400/s0394_decode_string) [C](src/main/c/g0301_0400/s0394_decode_string)| Medium | Top_100_Liked_Questions, String, Stack, Recursion, Level_1_Day_14_Stack, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 +| 0347 |Top K Frequent Elements| [Java](src/main/java/g0301_0400/s0347_top_k_frequent_elements) [Kotlin](src/main/kotlin/g0301_0400/s0347_top_k_frequent_elements) [TypeScript](src/main/ts/g0301_0400/s0347_top_k_frequent_elements) [Scala](src/main/scala/g0301_0400/s0347_top_k_frequent_elements) [Ruby](src/main/ruby/g0301_0400/s0347_top_k_frequent_elements) [PHP](src/main/php/g0301_0400/s0347_top_k_frequent_elements) [C#](src/main/csharp/g0301_0400/s0347_top_k_frequent_elements) [Go](src/main/go/g0301_0400/s0347_top_k_frequent_elements) [Cpp](src/main/cpp/g0301_0400/s0347_top_k_frequent_elements) [Python](src/main/python/g0301_0400/s0347_top_k_frequent_elements) [Swift](src/main/swift/g0301_0400/s0347_top_k_frequent_elements) [Elixir](src/main/elixir/g0301_0400/s0347_top_k_frequent_elements) [Rust](src/main/rust/g0301_0400/s0347_top_k_frequent_elements) [Dart](src/main/dart/g0301_0400/s0347_top_k_frequent_elements) [C](src/main/c/g0301_0400/s0347_top_k_frequent_elements)| Medium | Top_100_Liked_Questions, Array, Hash_Table, Sorting, Heap_Priority_Queue, Counting, Divide_and_Conquer, Quickselect, Bucket_Sort, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\*log(n))_Space_O(k) | 9 | 97.30 +| 0338 |Counting Bits| [Java](src/main/java/g0301_0400/s0338_counting_bits) [Kotlin](src/main/kotlin/g0301_0400/s0338_counting_bits) [TypeScript](src/main/ts/g0301_0400/s0338_counting_bits) [Scala](src/main/scala/g0301_0400/s0338_counting_bits) [Ruby](src/main/ruby/g0301_0400/s0338_counting_bits) [PHP](src/main/php/g0301_0400/s0338_counting_bits) [C#](src/main/csharp/g0301_0400/s0338_counting_bits) [Go](src/main/go/g0301_0400/s0338_counting_bits) [Cpp](src/main/cpp/g0301_0400/s0338_counting_bits) [Python](src/main/python/g0301_0400/s0338_counting_bits) [Swift](src/main/swift/g0301_0400/s0338_counting_bits) [Elixir](src/main/elixir/g0301_0400/s0338_counting_bits) [Rust](src/main/rust/g0301_0400/s0338_counting_bits) [Dart](src/main/dart/g0301_0400/s0338_counting_bits) [C](src/main/c/g0301_0400/s0338_counting_bits)| Easy | Dynamic_Programming, Bit_Manipulation, Udemy_Bit_Manipulation, Big_O_Time_O(num)_Space_O(num) | 2 | 96.37 +| 0322 |Coin Change| [Java](src/main/java/g0301_0400/s0322_coin_change) [Kotlin](src/main/kotlin/g0301_0400/s0322_coin_change) [TypeScript](src/main/ts/g0301_0400/s0322_coin_change) [Scala](src/main/scala/g0301_0400/s0322_coin_change) [Ruby](src/main/ruby/g0301_0400/s0322_coin_change) [PHP](src/main/php/g0301_0400/s0322_coin_change) [C#](src/main/csharp/g0301_0400/s0322_coin_change) [Go](src/main/go/g0301_0400/s0322_coin_change) [Cpp](src/main/cpp/g0301_0400/s0322_coin_change) [Python](src/main/python/g0301_0400/s0322_coin_change) [Swift](src/main/swift/g0301_0400/s0322_coin_change) [Elixir](src/main/elixir/g0301_0400/s0322_coin_change) [Rust](src/main/rust/g0301_0400/s0322_coin_change) [Dart](src/main/dart/g0301_0400/s0322_coin_change) [C](src/main/c/g0301_0400/s0322_coin_change)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Breadth_First_Search, Algorithm_II_Day_18_Dynamic_Programming, Dynamic_Programming_I_Day_20, Level_2_Day_12_Dynamic_Programming, Big_O_Time_O(m\*n)_Space_O(amount) | 12 | 92.59 +| 0300 |Longest Increasing Subsequence| [Java](src/main/java/g0201_0300/s0300_longest_increasing_subsequence) [Kotlin](src/main/kotlin/g0201_0300/s0300_longest_increasing_subsequence) [TypeScript](src/main/ts/g0201_0300/s0300_longest_increasing_subsequence) [Scala](src/main/scala/g0201_0300/s0300_longest_increasing_subsequence) [Ruby](src/main/ruby/g0201_0300/s0300_longest_increasing_subsequence) [PHP](src/main/php/g0201_0300/s0300_longest_increasing_subsequence) [C#](src/main/csharp/g0201_0300/s0300_longest_increasing_subsequence) [Go](src/main/go/g0201_0300/s0300_longest_increasing_subsequence) [Cpp](src/main/cpp/g0201_0300/s0300_longest_increasing_subsequence) [Python](src/main/python/g0201_0300/s0300_longest_increasing_subsequence) [Swift](src/main/swift/g0201_0300/s0300_longest_increasing_subsequence) [Elixir](src/main/elixir/g0201_0300/s0300_longest_increasing_subsequence) [Rust](src/main/rust/g0201_0300/s0300_longest_increasing_subsequence) [Dart](src/main/dart/g0201_0300/s0300_longest_increasing_subsequence) [C](src/main/c/g0201_0300/s0300_longest_increasing_subsequence)| Medium | Top_100_Liked_Questions, Array, Dynamic_Programming, Binary_Search, Algorithm_II_Day_16_Dynamic_Programming, Binary_Search_II_Day_3, Dynamic_Programming_I_Day_18, Udemy_Dynamic_Programming, Big_O_Time_O(n\*log_n)_Space_O(n) | 3 | 95.75 +| 0295 |Find Median from Data Stream| [Java](src/main/java/g0201_0300/s0295_find_median_from_data_stream) [Kotlin](src/main/kotlin/g0201_0300/s0295_find_median_from_data_stream) [TypeScript](src/main/ts/g0201_0300/s0295_find_median_from_data_stream) [Scala](src/main/scala/g0201_0300/s0295_find_median_from_data_stream) [Ruby](src/main/ruby/g0201_0300/s0295_find_median_from_data_stream) [PHP](src/main/php/g0201_0300/s0295_find_median_from_data_stream) [C#](src/main/csharp/g0201_0300/s0295_find_median_from_data_stream) [Go](src/main/go/g0201_0300/s0295_find_median_from_data_stream) [Cpp](src/main/cpp/g0201_0300/s0295_find_median_from_data_stream) [Python](src/main/python/g0201_0300/s0295_find_median_from_data_stream) [Swift](src/main/swift/g0201_0300/s0295_find_median_from_data_stream) [Elixir](src/main/elixir/g0201_0300/s0295_find_median_from_data_stream) [Rust](src/main/rust/g0201_0300/s0295_find_median_from_data_stream) [Dart](src/main/dart/g0201_0300/s0295_find_median_from_data_stream) [C](src/main/c/g0201_0300/s0295_find_median_from_data_stream)| Hard | Top_100_Liked_Questions, Sorting, Two_Pointers, Design, Heap_Priority_Queue, Data_Stream, Big_O_Time_O(n\*log_n)_Space_O(n) | 83 | 99.56 +| 0287 |Find the Duplicate Number| [Java](src/main/java/g0201_0300/s0287_find_the_duplicate_number) [Kotlin](src/main/kotlin/g0201_0300/s0287_find_the_duplicate_number) [TypeScript](src/main/ts/g0201_0300/s0287_find_the_duplicate_number) [Scala](src/main/scala/g0201_0300/s0287_find_the_duplicate_number) [Ruby](src/main/ruby/g0201_0300/s0287_find_the_duplicate_number) [PHP](src/main/php/g0201_0300/s0287_find_the_duplicate_number) [C#](src/main/csharp/g0201_0300/s0287_find_the_duplicate_number) [Go](src/main/go/g0201_0300/s0287_find_the_duplicate_number) [Cpp](src/main/cpp/g0201_0300/s0287_find_the_duplicate_number) [Python](src/main/python/g0201_0300/s0287_find_the_duplicate_number) [Swift](src/main/swift/g0201_0300/s0287_find_the_duplicate_number) [Elixir](src/main/elixir/g0201_0300/s0287_find_the_duplicate_number) [Rust](src/main/rust/g0201_0300/s0287_find_the_duplicate_number) [Dart](src/main/dart/g0201_0300/s0287_find_the_duplicate_number) [C](src/main/c/g0201_0300/s0287_find_the_duplicate_number)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Two_Pointers, Bit_Manipulation, Binary_Search_II_Day_5, Big_O_Time_O(n)_Space_O(n) | 2 | 97.52 +| 0283 |Move Zeroes| [Java](src/main/java/g0201_0300/s0283_move_zeroes) [Kotlin](src/main/kotlin/g0201_0300/s0283_move_zeroes) [TypeScript](src/main/ts/g0201_0300/s0283_move_zeroes) [Scala](src/main/scala/g0201_0300/s0283_move_zeroes) [Ruby](src/main/ruby/g0201_0300/s0283_move_zeroes) [PHP](src/main/php/g0201_0300/s0283_move_zeroes) [C#](src/main/csharp/g0201_0300/s0283_move_zeroes) [Go](src/main/go/g0201_0300/s0283_move_zeroes) [Cpp](src/main/cpp/g0201_0300/s0283_move_zeroes) [Python](src/main/python/g0201_0300/s0283_move_zeroes) [Swift](src/main/swift/g0201_0300/s0283_move_zeroes) [Elixir](src/main/elixir/g0201_0300/s0283_move_zeroes) [Rust](src/main/rust/g0201_0300/s0283_move_zeroes) [Dart](src/main/dart/g0201_0300/s0283_move_zeroes) [C](src/main/c/g0201_0300/s0283_move_zeroes)| Easy | Top_100_Liked_Questions, Array, Two_Pointers, Algorithm_I_Day_3_Two_Pointers, Programming_Skills_I_Day_6_Array, Udemy_Arrays, Big_O_Time_O(n)_Space_O(1) | 2 | 83.99 +| 0240 |Search a 2D Matrix II| [Java](src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii) [Kotlin](src/main/kotlin/g0201_0300/s0240_search_a_2d_matrix_ii) [TypeScript](src/main/ts/g0201_0300/s0240_search_a_2d_matrix_ii) [Scala](src/main/scala/g0201_0300/s0240_search_a_2d_matrix_ii) [Ruby](src/main/ruby/g0201_0300/s0240_search_a_2d_matrix_ii) [PHP](src/main/php/g0201_0300/s0240_search_a_2d_matrix_ii) [C#](src/main/csharp/g0201_0300/s0240_search_a_2d_matrix_ii) [Go](src/main/go/g0201_0300/s0240_search_a_2d_matrix_ii) [Cpp](src/main/cpp/g0201_0300/s0240_search_a_2d_matrix_ii) [Python](src/main/python/g0201_0300/s0240_search_a_2d_matrix_ii) [Swift](src/main/swift/g0201_0300/s0240_search_a_2d_matrix_ii) [Elixir](src/main/elixir/g0201_0300/s0240_search_a_2d_matrix_ii) [Rust](src/main/rust/g0201_0300/s0240_search_a_2d_matrix_ii) [Dart](src/main/dart/g0201_0300/s0240_search_a_2d_matrix_ii) [C](src/main/c/g0201_0300/s0240_search_a_2d_matrix_ii)| Medium | Top_100_Liked_Questions, Array, Binary_Search, Matrix, Divide_and_Conquer, Data_Structure_II_Day_4_Array, Binary_Search_II_Day_8, Big_O_Time_O(n+m)_Space_O(1) | 5 | 99.92 +| 0239 |Sliding Window Maximum| [Java](src/main/java/g0201_0300/s0239_sliding_window_maximum) [Kotlin](src/main/kotlin/g0201_0300/s0239_sliding_window_maximum) [TypeScript](src/main/ts/g0201_0300/s0239_sliding_window_maximum) [Scala](src/main/scala/g0201_0300/s0239_sliding_window_maximum) [Ruby](src/main/ruby/g0201_0300/s0239_sliding_window_maximum) [PHP](src/main/php/g0201_0300/s0239_sliding_window_maximum) [C#](src/main/csharp/g0201_0300/s0239_sliding_window_maximum) [Go](src/main/go/g0201_0300/s0239_sliding_window_maximum) [Cpp](src/main/cpp/g0201_0300/s0239_sliding_window_maximum) [Python](src/main/python/g0201_0300/s0239_sliding_window_maximum) [Swift](src/main/swift/g0201_0300/s0239_sliding_window_maximum) [Elixir](src/main/elixir/g0201_0300/s0239_sliding_window_maximum) [Rust](src/main/rust/g0201_0300/s0239_sliding_window_maximum) [Dart](src/main/dart/g0201_0300/s0239_sliding_window_maximum) [C](src/main/c/g0201_0300/s0239_sliding_window_maximum)| Hard | Top_100_Liked_Questions, Array, Heap_Priority_Queue, Sliding_Window, Queue, Monotonic_Queue, Udemy_Arrays, Big_O_Time_O(n\*k)_Space_O(n+k) | 26 | 95.89 +| 0238 |Product of Array Except Self| [Java](src/main/java/g0201_0300/s0238_product_of_array_except_self) [Kotlin](src/main/kotlin/g0201_0300/s0238_product_of_array_except_self) [TypeScript](src/main/ts/g0201_0300/s0238_product_of_array_except_self) [Scala](src/main/scala/g0201_0300/s0238_product_of_array_except_self) [Ruby](src/main/ruby/g0201_0300/s0238_product_of_array_except_self) [PHP](src/main/php/g0201_0300/s0238_product_of_array_except_self) [C#](src/main/csharp/g0201_0300/s0238_product_of_array_except_self) [Go](src/main/go/g0201_0300/s0238_product_of_array_except_self) [Cpp](src/main/cpp/g0201_0300/s0238_product_of_array_except_self) [Python](src/main/python/g0201_0300/s0238_product_of_array_except_self) [Swift](src/main/swift/g0201_0300/s0238_product_of_array_except_self) [Elixir](src/main/elixir/g0201_0300/s0238_product_of_array_except_self) [Rust](src/main/rust/g0201_0300/s0238_product_of_array_except_self) [Dart](src/main/dart/g0201_0300/s0238_product_of_array_except_self) [C](src/main/c/g0201_0300/s0238_product_of_array_except_self)| Medium | Top_100_Liked_Questions, Array, Prefix_Sum, Data_Structure_II_Day_5_Array, Udemy_Arrays, Big_O_Time_O(n^2)_Space_O(n) | 1 | 99.66 +| 0236 |Lowest Common Ancestor of a Binary Tree| [Java](src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Scala](src/main/scala/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [PHP](src/main/php/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C#](src/main/csharp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Go](src/main/go/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Python](src/main/python/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Swift](src/main/swift/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Rust](src/main/rust/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [Dart](src/main/dart/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree) [C](src/main/c/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Data_Structure_II_Day_18_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 6 | 100.00 +| 0234 |Palindrome Linked List| [Java](src/main/java/g0201_0300/s0234_palindrome_linked_list) [Kotlin](src/main/kotlin/g0201_0300/s0234_palindrome_linked_list) [TypeScript](src/main/ts/g0201_0300/s0234_palindrome_linked_list) [Scala](src/main/scala/g0201_0300/s0234_palindrome_linked_list) [Ruby](src/main/ruby/g0201_0300/s0234_palindrome_linked_list) [PHP](src/main/php/g0201_0300/s0234_palindrome_linked_list) [C#](src/main/csharp/g0201_0300/s0234_palindrome_linked_list) [Go](src/main/go/g0201_0300/s0234_palindrome_linked_list) [Cpp](src/main/cpp/g0201_0300/s0234_palindrome_linked_list) [Python](src/main/python/g0201_0300/s0234_palindrome_linked_list) [Swift](src/main/swift/g0201_0300/s0234_palindrome_linked_list) [Elixir](src/main/elixir/g0201_0300/s0234_palindrome_linked_list) [Rust](src/main/rust/g0201_0300/s0234_palindrome_linked_list) [Dart](src/main/dart/g0201_0300/s0234_palindrome_linked_list) [C](src/main/c/g0201_0300/s0234_palindrome_linked_list)| Easy | Top_100_Liked_Questions, Two_Pointers, Stack, Linked_List, Recursion, Level_2_Day_3_Linked_List, Udemy_Linked_List, Big_O_Time_O(n)_Space_O(1) | 4 | 84.46 +| 0230 |Kth Smallest Element in a BST| [Java](src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Kotlin](src/main/kotlin/g0201_0300/s0230_kth_smallest_element_in_a_bst) [TypeScript](src/main/ts/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Scala](src/main/scala/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Ruby](src/main/ruby/g0201_0300/s0230_kth_smallest_element_in_a_bst) [PHP](src/main/php/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C#](src/main/csharp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Go](src/main/go/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Cpp](src/main/cpp/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Python](src/main/python/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Swift](src/main/swift/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Elixir](src/main/elixir/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Rust](src/main/rust/g0201_0300/s0230_kth_smallest_element_in_a_bst) [Dart](src/main/dart/g0201_0300/s0230_kth_smallest_element_in_a_bst) [C](src/main/c/g0201_0300/s0230_kth_smallest_element_in_a_bst)| Medium | Top_100_Liked_Questions, Depth_First_Search, Tree, Binary_Tree, Binary_Search_Tree, Data_Structure_II_Day_17_Tree, Level_2_Day_9_Binary_Search_Tree, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 | 0226 |Invert Binary Tree| [Java](src/main/java/g0201_0300/s0226_invert_binary_tree) [Kotlin](src/main/kotlin/g0201_0300/s0226_invert_binary_tree) [TypeScript](src/main/ts/g0201_0300/s0226_invert_binary_tree) [Scala](src/main/scala/g0201_0300/s0226_invert_binary_tree) [Ruby](src/main/ruby/g0201_0300/s0226_invert_binary_tree) [PHP](src/main/php/g0201_0300/s0226_invert_binary_tree) [C#](src/main/csharp/g0201_0300/s0226_invert_binary_tree) [Go](src/main/go/g0201_0300/s0226_invert_binary_tree) [Cpp](src/main/cpp/g0201_0300/s0226_invert_binary_tree) [Python](src/main/python/g0201_0300/s0226_invert_binary_tree) [Swift](src/main/swift/g0201_0300/s0226_invert_binary_tree) [Elixir](src/main/elixir/g0201_0300/s0226_invert_binary_tree) [Rust](src/main/rust/g0201_0300/s0226_invert_binary_tree) [Dart](src/main/dart/g0201_0300/s0226_invert_binary_tree) [C](src/main/c/g0201_0300/s0226_invert_binary_tree)| Easy | Top_100_Liked_Questions, Depth_First_Search, Breadth_First_Search, Tree, Binary_Tree, Data_Structure_I_Day_12_Tree, Level_2_Day_6_Tree, Udemy_Tree_Stack_Queue, Big_O_Time_O(n)_Space_O(n) | 0 | 100.00 -| 0221 |Maximal Square| [Java](src/main/java/g0201_0300/s0221_maximal_square) [Kotlin](src/main/kotlin/g0201_0300/s0221_maximal_square) [TypeScript](src/main/ts/g0201_0300/s0221_maximal_square) [Scala](src/main/scala/g0201_0300/s0221_maximal_square) [Ruby](src/main/ruby/g0201_0300/s0221_maximal_square) [PHP](src/main/php/g0201_0300/s0221_maximal_square) [C#](src/main/csharp/g0201_0300/s0221_maximal_square) [Go](src/main/go/g0201_0300/s0221_maximal_square) [Cpp](src/main/cpp/g0201_0300/s0221_maximal_square) [Python](src/main/python/g0201_0300/s0221_maximal_square) [Swift](src/main/swift/g0201_0300/s0221_maximal_square) [Elixir](src/main/elixir/g0201_0300/s0221_maximal_square) [Rust](src/main/rust/g0201_0300/s0221_maximal_square) [Dart](src/main/dart/g0201_0300/s0221_maximal_square) [C](src/main/c/g0201_0300/s0221_maximal_square)| Medium | Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Big_O_Time_O(m\*n)_Space_O(m\*n) | 7 | 72.35 +| 0221 |Maximal Square| [Java](src/main/java/g0201_0300/s0221_maximal_square) [Kotlin](src/main/kotlin/g0201_0300/s0221_maximal_square) [TypeScript](src/main/ts/g0201_0300/s0221_maximal_square) [Scala](src/main/scala/g0201_0300/s0221_maximal_square) [Ruby](src/main/ruby/g0201_0300/s0221_maximal_square) [PHP](src/main/php/g0201_0300/s0221_maximal_square) [C#](src/main/csharp/g0201_0300/s0221_maximal_square) [Go](src/main/go/g0201_0300/s0221_maximal_square) [Cpp](src/main/cpp/g0201_0300/s0221_maximal_square) [Python](src/main/python/g0201_0300/s0221_maximal_square) [Swift](src/main/swift/g0201_0300/s0221_maximal_square) [Elixir](src/main/elixir/g0201_0300/s0221_maximal_square) [Rust](src/main/rust/g0201_0300/s0221_maximal_square) [Dart](src/main/dart/g0201_0300/s0221_maximal_square) [C](src/main/c/g0201_0300/s0221_maximal_square)| Medium | Array, Dynamic_Programming, Matrix, Dynamic_Programming_I_Day_16, Big_O_Time_O(m\*n)_Space_O(m\*n) | 6 | 97.07 | 0215 |Kth Largest Element in an Array| [Java](src/main/java/g0201_0300/s0215_kth_largest_element_in_an_array) [Kotlin](src/main/kotlin/g0201_0300/s0215_kth_largest_element_in_an_array) [TypeScript](src/main/ts/g0201_0300/s0215_kth_largest_element_in_an_array) [Scala](src/main/scala/g0201_0300/s0215_kth_largest_element_in_an_array) [Ruby](src/main/ruby/g0201_0300/s0215_kth_largest_element_in_an_array) [PHP](src/main/php/g0201_0300/s0215_kth_largest_element_in_an_array) [C#](src/main/csharp/g0201_0300/s0215_kth_largest_element_in_an_array) [Go](src/main/go/g0201_0300/s0215_kth_largest_element_in_an_array) [Cpp](src/main/cpp/g0201_0300/s0215_kth_largest_element_in_an_array) [Python](src/main/python/g0201_0300/s0215_kth_largest_element_in_an_array) [Swift](src/main/swift/g0201_0300/s0215_kth_largest_element_in_an_array) [Elixir](src/main/elixir/g0201_0300/s0215_kth_largest_element_in_an_array) [Rust](src/main/rust/g0201_0300/s0215_kth_largest_element_in_an_array) [Dart](src/main/dart/g0201_0300/s0215_kth_largest_element_in_an_array) [C](src/main/c/g0201_0300/s0215_kth_largest_element_in_an_array)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Array, Sorting, Heap_Priority_Queue, Divide_and_Conquer, Quickselect, Data_Structure_II_Day_20_Heap_Priority_Queue, Big_O_Time_O(n\*log(n))_Space_O(log(n)) | 5 | 70.82 | 0208 |Implement Trie (Prefix Tree)| [Java](src/main/java/g0201_0300/s0208_implement_trie_prefix_tree) [Kotlin](src/main/kotlin/g0201_0300/s0208_implement_trie_prefix_tree) [TypeScript](src/main/ts/g0201_0300/s0208_implement_trie_prefix_tree) [Scala](src/main/scala/g0201_0300/s0208_implement_trie_prefix_tree) [Ruby](src/main/ruby/g0201_0300/s0208_implement_trie_prefix_tree) [PHP](src/main/php/g0201_0300/s0208_implement_trie_prefix_tree) [C#](src/main/csharp/g0201_0300/s0208_implement_trie_prefix_tree) [Go](src/main/go/g0201_0300/s0208_implement_trie_prefix_tree) [Cpp](src/main/cpp/g0201_0300/s0208_implement_trie_prefix_tree) [Python](src/main/python/g0201_0300/s0208_implement_trie_prefix_tree) [Swift](src/main/swift/g0201_0300/s0208_implement_trie_prefix_tree) [Elixir](src/main/elixir/g0201_0300/s0208_implement_trie_prefix_tree) [Rust](src/main/rust/g0201_0300/s0208_implement_trie_prefix_tree) [Dart](src/main/dart/g0201_0300/s0208_implement_trie_prefix_tree) [C](src/main/c/g0201_0300/s0208_implement_trie_prefix_tree)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Design, Trie, Level_2_Day_16_Design, Udemy_Trie_and_Heap, Big_O_Time_O(word.length())_or_O(prefix.length())_Space_O(N) | 32 | 95.05 | 0207 |Course Schedule| [Java](src/main/java/g0201_0300/s0207_course_schedule) [Kotlin](src/main/kotlin/g0201_0300/s0207_course_schedule) [TypeScript](src/main/ts/g0201_0300/s0207_course_schedule) [Scala](src/main/scala/g0201_0300/s0207_course_schedule) [Ruby](src/main/ruby/g0201_0300/s0207_course_schedule) [PHP](src/main/php/g0201_0300/s0207_course_schedule) [C#](src/main/csharp/g0201_0300/s0207_course_schedule) [Go](src/main/go/g0201_0300/s0207_course_schedule) [Cpp](src/main/cpp/g0201_0300/s0207_course_schedule) [Python](src/main/python/g0201_0300/s0207_course_schedule) [Swift](src/main/swift/g0201_0300/s0207_course_schedule) [Elixir](src/main/elixir/g0201_0300/s0207_course_schedule) [Rust](src/main/rust/g0201_0300/s0207_course_schedule) [Dart](src/main/dart/g0201_0300/s0207_course_schedule) [C](src/main/c/g0201_0300/s0207_course_schedule)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, Depth_First_Search, Breadth_First_Search, Graph, Topological_Sort, Big_O_Time_O(N)_Space_O(N) | 3 | 97.58 @@ -1508,7 +1508,7 @@ | 0009 |Palindrome Number| [Java](src/main/java/g0001_0100/s0009_palindrome_number) [Kotlin](src/main/kotlin/g0001_0100/s0009_palindrome_number) [TypeScript](src/main/ts/g0001_0100/s0009_palindrome_number) [Scala](src/main/scala/g0001_0100/s0009_palindrome_number) [Ruby](src/main/ruby/g0001_0100/s0009_palindrome_number) [PHP](src/main/php/g0001_0100/s0009_palindrome_number) [C#](src/main/csharp/g0001_0100/s0009_palindrome_number) [Go](src/main/go/g0001_0100/s0009_palindrome_number) [Cpp](src/main/cpp/g0001_0100/s0009_palindrome_number) [Python](src/main/python/g0001_0100/s0009_palindrome_number) [Swift](src/main/swift/g0001_0100/s0009_palindrome_number) [Elixir](src/main/elixir/g0001_0100/s0009_palindrome_number) [Rust](src/main/rust/g0001_0100/s0009_palindrome_number) [Dart](src/main/dart/g0001_0100/s0009_palindrome_number) [C](src/main/c/g0001_0100/s0009_palindrome_number)| Easy | Math, Udemy_Integers | 4 | 100.00 | 0008 |String to Integer (atoi)| [Java](src/main/java/g0001_0100/s0008_string_to_integer_atoi) [Kotlin](src/main/kotlin/g0001_0100/s0008_string_to_integer_atoi) [TypeScript](src/main/ts/g0001_0100/s0008_string_to_integer_atoi) [Scala](src/main/scala/g0001_0100/s0008_string_to_integer_atoi) [Ruby](src/main/ruby/g0001_0100/s0008_string_to_integer_atoi) [PHP](src/main/php/g0001_0100/s0008_string_to_integer_atoi) [C#](src/main/csharp/g0001_0100/s0008_string_to_integer_atoi) [Go](src/main/go/g0001_0100/s0008_string_to_integer_atoi) [Cpp](src/main/cpp/g0001_0100/s0008_string_to_integer_atoi) [Python](src/main/python/g0001_0100/s0008_string_to_integer_atoi) [Swift](src/main/swift/g0001_0100/s0008_string_to_integer_atoi) [Elixir](src/main/elixir/g0001_0100/s0008_string_to_integer_atoi) [Rust](src/main/rust/g0001_0100/s0008_string_to_integer_atoi) [Dart](src/main/dart/g0001_0100/s0008_string_to_integer_atoi) [C](src/main/c/g0001_0100/s0008_string_to_integer_atoi)| Medium | Top_Interview_Questions, String | 1 | 100.00 | 0007 |Reverse Integer| [Java](src/main/java/g0001_0100/s0007_reverse_integer) [Kotlin](src/main/kotlin/g0001_0100/s0007_reverse_integer) [TypeScript](src/main/ts/g0001_0100/s0007_reverse_integer) [Scala](src/main/scala/g0001_0100/s0007_reverse_integer) [Ruby](src/main/ruby/g0001_0100/s0007_reverse_integer) [PHP](src/main/php/g0001_0100/s0007_reverse_integer) [C#](src/main/csharp/g0001_0100/s0007_reverse_integer) [Go](src/main/go/g0001_0100/s0007_reverse_integer) [Cpp](src/main/cpp/g0001_0100/s0007_reverse_integer) [Python](src/main/python/g0001_0100/s0007_reverse_integer) [Swift](src/main/swift/g0001_0100/s0007_reverse_integer) [Elixir](src/main/elixir/g0001_0100/s0007_reverse_integer) [Rust](src/main/rust/g0001_0100/s0007_reverse_integer) [Dart](src/main/dart/g0001_0100/s0007_reverse_integer) [C](src/main/c/g0001_0100/s0007_reverse_integer)| Medium | Top_Interview_Questions, Math, Udemy_Integers | 0 | 100.00 -| 0006 |Zigzag Conversion| [Java](src/main/java/g0001_0100/s0006_zigzag_conversion) [Kotlin](src/main/kotlin/g0001_0100/s0006_zigzag_conversion) [TypeScript](src/main/ts/g0001_0100/s0006_zigzag_conversion) [Scala](src/main/scala/g0001_0100/s0006_zigzag_conversion) [Ruby](src/main/ruby/g0001_0100/s0006_zigzag_conversion) [PHP](src/main/php/g0001_0100/s0006_zigzag_conversion) [C#](src/main/csharp/g0001_0100/s0006_zigzag_conversion) [Go](src/main/go/g0001_0100/s0006_zigzag_conversion) [Cpp](src/main/cpp/g0001_0100/s0006_zigzag_conversion) [Python](src/main/python/g0001_0100/s0006_zigzag_conversion) [Swift](src/main/swift/g0001_0100/s0006_zigzag_conversion) [Elixir](src/main/elixir/g0001_0100/s0006_zigzag_conversion) [Rust](src/main/rust/g0001_0100/s0006_zigzag_conversion) [Dart](src/main/dart/g0001_0100/s0006_zigzag_conversion) [C](src/main/c/g0001_0100/s0006_zigzag_conversion)| Medium | String | 2 | 99.60 +| 0006 |Zigzag Conversion| [Java](src/main/java/g0001_0100/s0006_zigzag_conversion) [Kotlin](src/main/kotlin/g0001_0100/s0006_zigzag_conversion) [TypeScript](src/main/ts/g0001_0100/s0006_zigzag_conversion) [Scala](src/main/scala/g0001_0100/s0006_zigzag_conversion) [Ruby](src/main/ruby/g0001_0100/s0006_zigzag_conversion) [PHP](src/main/php/g0001_0100/s0006_zigzag_conversion) [C#](src/main/csharp/g0001_0100/s0006_zigzag_conversion) [Go](src/main/go/g0001_0100/s0006_zigzag_conversion) [Cpp](src/main/cpp/g0001_0100/s0006_zigzag_conversion) [Python](src/main/python/g0001_0100/s0006_zigzag_conversion) [Swift](src/main/swift/g0001_0100/s0006_zigzag_conversion) [Elixir](src/main/elixir/g0001_0100/s0006_zigzag_conversion) [Rust](src/main/rust/g0001_0100/s0006_zigzag_conversion) [Dart](src/main/dart/g0001_0100/s0006_zigzag_conversion) [C](src/main/c/g0001_0100/s0006_zigzag_conversion)| Medium | String | 2 | 99.71 | 0005 |Longest Palindromic Substring| [Java](src/main/java/g0001_0100/s0005_longest_palindromic_substring) [Kotlin](src/main/kotlin/g0001_0100/s0005_longest_palindromic_substring) [TypeScript](src/main/ts/g0001_0100/s0005_longest_palindromic_substring) [Scala](src/main/scala/g0001_0100/s0005_longest_palindromic_substring) [Ruby](src/main/ruby/g0001_0100/s0005_longest_palindromic_substring) [PHP](src/main/php/g0001_0100/s0005_longest_palindromic_substring) [C#](src/main/csharp/g0001_0100/s0005_longest_palindromic_substring) [Go](src/main/go/g0001_0100/s0005_longest_palindromic_substring) [Cpp](src/main/cpp/g0001_0100/s0005_longest_palindromic_substring) [Python](src/main/python/g0001_0100/s0005_longest_palindromic_substring) [Swift](src/main/swift/g0001_0100/s0005_longest_palindromic_substring) [Elixir](src/main/elixir/g0001_0100/s0005_longest_palindromic_substring) [Rust](src/main/rust/g0001_0100/s0005_longest_palindromic_substring) [Dart](src/main/dart/g0001_0100/s0005_longest_palindromic_substring) [C](src/main/c/g0001_0100/s0005_longest_palindromic_substring)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Dynamic_Programming, Data_Structure_II_Day_9_String, Algorithm_II_Day_14_Dynamic_Programming, Dynamic_Programming_I_Day_17, Udemy_Strings, Big_O_Time_O(n)_Space_O(n) | 7 | 97.82 | 0004 |Median of Two Sorted Arrays| [Java](src/main/java/g0001_0100/s0004_median_of_two_sorted_arrays) [Kotlin](src/main/kotlin/g0001_0100/s0004_median_of_two_sorted_arrays) [TypeScript](src/main/ts/g0001_0100/s0004_median_of_two_sorted_arrays) [Scala](src/main/scala/g0001_0100/s0004_median_of_two_sorted_arrays) [Ruby](src/main/ruby/g0001_0100/s0004_median_of_two_sorted_arrays) [PHP](src/main/php/g0001_0100/s0004_median_of_two_sorted_arrays) [C#](src/main/csharp/g0001_0100/s0004_median_of_two_sorted_arrays) [Go](src/main/go/g0001_0100/s0004_median_of_two_sorted_arrays) [Cpp](src/main/cpp/g0001_0100/s0004_median_of_two_sorted_arrays) [Python](src/main/python/g0001_0100/s0004_median_of_two_sorted_arrays) [Swift](src/main/swift/g0001_0100/s0004_median_of_two_sorted_arrays) [Elixir](src/main/elixir/g0001_0100/s0004_median_of_two_sorted_arrays) [Rust](src/main/rust/g0001_0100/s0004_median_of_two_sorted_arrays) [Dart](src/main/dart/g0001_0100/s0004_median_of_two_sorted_arrays) [C](src/main/c/g0001_0100/s0004_median_of_two_sorted_arrays)| Hard | Top_100_Liked_Questions, Top_Interview_Questions, Array, Binary_Search, Divide_and_Conquer, Big_O_Time_O(log(min(N,M)))_Space_O(1), AI_can_be_used_to_solve_the_task | 1 | 100.00 | 0003 |Longest Substring Without Repeating Characters| [Java](src/main/java/g0001_0100/s0003_longest_substring_without_repeating_characters) [Kotlin](src/main/kotlin/g0001_0100/s0003_longest_substring_without_repeating_characters) [TypeScript](src/main/ts/g0001_0100/s0003_longest_substring_without_repeating_characters) [Scala](src/main/scala/g0001_0100/s0003_longest_substring_without_repeating_characters) [Ruby](src/main/ruby/g0001_0100/s0003_longest_substring_without_repeating_characters) [PHP](src/main/php/g0001_0100/s0003_longest_substring_without_repeating_characters) [C#](src/main/csharp/g0001_0100/s0003_longest_substring_without_repeating_characters) [Go](src/main/go/g0001_0100/s0003_longest_substring_without_repeating_characters) [Cpp](src/main/cpp/g0001_0100/s0003_longest_substring_without_repeating_characters) [Python](src/main/python/g0001_0100/s0003_longest_substring_without_repeating_characters) [Swift](src/main/swift/g0001_0100/s0003_longest_substring_without_repeating_characters) [Elixir](src/main/elixir/g0001_0100/s0003_longest_substring_without_repeating_characters) [Rust](src/main/rust/g0001_0100/s0003_longest_substring_without_repeating_characters) [Dart](src/main/dart/g0001_0100/s0003_longest_substring_without_repeating_characters) [C](src/main/c/g0001_0100/s0003_longest_substring_without_repeating_characters)| Medium | Top_100_Liked_Questions, Top_Interview_Questions, String, Hash_Table, Sliding_Window, Algorithm_I_Day_6_Sliding_Window, Level_2_Day_14_Sliding_Window/Two_Pointer, Udemy_Strings, Big_O_Time_O(n)_Space_O(1), AI_can_be_used_to_solve_the_task | 2 | 98.59 diff --git a/src/main/java/g0001_0100/s0006_zigzag_conversion/Solution.java b/src/main/java/g0001_0100/s0006_zigzag_conversion/Solution.java index aa44a40..3418cff 100644 --- a/src/main/java/g0001_0100/s0006_zigzag_conversion/Solution.java +++ b/src/main/java/g0001_0100/s0006_zigzag_conversion/Solution.java @@ -1,6 +1,6 @@ package g0001_0100.s0006_zigzag_conversion; -// #Medium #String #2024_01_04_Time_2_ms_(99.60%)_Space_44.7_MB_(38.67%) +// #Medium #String #2024_11_17_Time_2_ms_(99.71%)_Space_44.5_MB_(94.69%) public class Solution { public String convert(String s, int numRows) { diff --git a/src/main/java/g0201_0300/s0221_maximal_square/Solution.java b/src/main/java/g0201_0300/s0221_maximal_square/Solution.java index 5429a80..97a286a 100644 --- a/src/main/java/g0201_0300/s0221_maximal_square/Solution.java +++ b/src/main/java/g0201_0300/s0221_maximal_square/Solution.java @@ -1,7 +1,7 @@ package g0201_0300.s0221_maximal_square; // #Medium #Array #Dynamic_Programming #Matrix #Dynamic_Programming_I_Day_16 -// #Big_O_Time_O(m*n)_Space_O(m*n) #2022_07_04_Time_7_ms_(72.35%)_Space_59.5_MB_(10.55%) +// #Big_O_Time_O(m*n)_Space_O(m*n) #2024_11_16_Time_6_ms_(97.07%)_Space_60.3_MB_(39.55%) public class Solution { public int maximalSquare(char[][] matrix) { diff --git a/src/main/java/g0201_0300/s0226_invert_binary_tree/Solution.java b/src/main/java/g0201_0300/s0226_invert_binary_tree/Solution.java index a5fe94b..0b36e70 100644 --- a/src/main/java/g0201_0300/s0226_invert_binary_tree/Solution.java +++ b/src/main/java/g0201_0300/s0226_invert_binary_tree/Solution.java @@ -2,7 +2,7 @@ // #Easy #Top_100_Liked_Questions #Depth_First_Search #Breadth_First_Search #Tree #Binary_Tree // #Data_Structure_I_Day_12_Tree #Level_2_Day_6_Tree #Udemy_Tree_Stack_Queue -// #Big_O_Time_O(n)_Space_O(n) #2022_07_04_Time_0_ms_(100.00%)_Space_42_MB_(20.73%) +// #Big_O_Time_O(n)_Space_O(n) #2024_11_16_Time_0_ms_(100.00%)_Space_40.6_MB_(95.51%) import com_github_leetcode.TreeNode; diff --git a/src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.java b/src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.java index 3bd55fa..61c399b 100644 --- a/src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.java +++ b/src/main/java/g0201_0300/s0230_kth_smallest_element_in_a_bst/Solution.java @@ -2,7 +2,7 @@ // #Medium #Top_100_Liked_Questions #Depth_First_Search #Tree #Binary_Tree #Binary_Search_Tree // #Data_Structure_II_Day_17_Tree #Level_2_Day_9_Binary_Search_Tree #Big_O_Time_O(n)_Space_O(n) -// #2022_07_04_Time_1_ms_(78.91%)_Space_45.3_MB_(58.87%) +// #2024_11_16_Time_0_ms_(100.00%)_Space_44.3_MB_(63.70%) import com_github_leetcode.TreeNode; diff --git a/src/main/java/g0201_0300/s0234_palindrome_linked_list/Solution.java b/src/main/java/g0201_0300/s0234_palindrome_linked_list/Solution.java index 9709947..b212b6d 100644 --- a/src/main/java/g0201_0300/s0234_palindrome_linked_list/Solution.java +++ b/src/main/java/g0201_0300/s0234_palindrome_linked_list/Solution.java @@ -2,7 +2,7 @@ // #Easy #Top_100_Liked_Questions #Two_Pointers #Stack #Linked_List #Recursion // #Level_2_Day_3_Linked_List #Udemy_Linked_List #Big_O_Time_O(n)_Space_O(1) -// #2022_07_04_Time_6_ms_(76.07%)_Space_97.6_MB_(56.14%) +// #2024_11_16_Time_4_ms_(84.46%)_Space_69_MB_(17.17%) import com_github_leetcode.ListNode; diff --git a/src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.java b/src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.java index 9152d27..2ed0c22 100644 --- a/src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.java +++ b/src/main/java/g0201_0300/s0236_lowest_common_ancestor_of_a_binary_tree/Solution.java @@ -2,7 +2,7 @@ // #Medium #Top_100_Liked_Questions #Depth_First_Search #Tree #Binary_Tree // #Data_Structure_II_Day_18_Tree #Udemy_Tree_Stack_Queue #Big_O_Time_O(n)_Space_O(n) -// #2022_07_04_Time_10_ms_(56.51%)_Space_47.4_MB_(45.84%) +// #2024_11_16_Time_6_ms_(100.00%)_Space_44_MB_(98.99%) import com_github_leetcode.TreeNode; diff --git a/src/main/java/g0201_0300/s0238_product_of_array_except_self/Solution.java b/src/main/java/g0201_0300/s0238_product_of_array_except_self/Solution.java index 7082314..805fd91 100644 --- a/src/main/java/g0201_0300/s0238_product_of_array_except_self/Solution.java +++ b/src/main/java/g0201_0300/s0238_product_of_array_except_self/Solution.java @@ -1,28 +1,21 @@ package g0201_0300.s0238_product_of_array_except_self; // #Medium #Top_100_Liked_Questions #Array #Prefix_Sum #Data_Structure_II_Day_5_Array #Udemy_Arrays -// #Big_O_Time_O(n^2)_Space_O(n) #2022_07_04_Time_1_ms_(100.00%)_Space_50.8_MB_(85.60%) +// #Big_O_Time_O(n^2)_Space_O(n) #2024_11_16_Time_1_ms_(99.66%)_Space_55.1_MB_(79.02%) public class Solution { public int[] productExceptSelf(int[] nums) { - int product = 1; - int[] ans = new int[nums.length]; - for (int num : nums) { - product = product * num; - } + int[] res = new int[nums.length]; + int prefixProduct = 1; for (int i = 0; i < nums.length; i++) { - if (nums[i] != 0) { - ans[i] = product / nums[i]; - } else { - int p = 1; - for (int j = 0; j < nums.length; j++) { - if (j != i) { - p = p * nums[j]; - } - } - ans[i] = p; - } + res[i] = prefixProduct; + prefixProduct *= nums[i]; + } + int suffixProduct = 1; + for (int i = nums.length - 1; i >= 0; i--) { + res[i] *= suffixProduct; + suffixProduct *= nums[i]; } - return ans; + return res; } } diff --git a/src/main/java/g0201_0300/s0239_sliding_window_maximum/Solution.java b/src/main/java/g0201_0300/s0239_sliding_window_maximum/Solution.java index 1c21336..0be6c18 100644 --- a/src/main/java/g0201_0300/s0239_sliding_window_maximum/Solution.java +++ b/src/main/java/g0201_0300/s0239_sliding_window_maximum/Solution.java @@ -2,7 +2,7 @@ // #Hard #Top_100_Liked_Questions #Array #Heap_Priority_Queue #Sliding_Window #Queue // #Monotonic_Queue #Udemy_Arrays #Big_O_Time_O(n*k)_Space_O(n+k) -// #2022_07_04_Time_58_ms_(52.28%)_Space_145_MB_(50.60%) +// #2024_11_16_Time_26_ms_(95.89%)_Space_59.6_MB_(38.70%) import java.util.LinkedList; diff --git a/src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii/Solution.java b/src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii/Solution.java index 16f5446..24f96fa 100644 --- a/src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii/Solution.java +++ b/src/main/java/g0201_0300/s0240_search_a_2d_matrix_ii/Solution.java @@ -2,7 +2,7 @@ // #Medium #Top_100_Liked_Questions #Array #Binary_Search #Matrix #Divide_and_Conquer // #Data_Structure_II_Day_4_Array #Binary_Search_II_Day_8 #Big_O_Time_O(n+m)_Space_O(1) -// #2022_07_04_Time_7_ms_(86.73%)_Space_58.4_MB_(9.95%) +// #2024_11_16_Time_5_ms_(99.92%)_Space_45.8_MB_(60.21%) public class Solution { public boolean searchMatrix(int[][] matrix, int target) { diff --git a/src/main/java/g0201_0300/s0283_move_zeroes/Solution.java b/src/main/java/g0201_0300/s0283_move_zeroes/Solution.java index e245bce..0f66fdb 100644 --- a/src/main/java/g0201_0300/s0283_move_zeroes/Solution.java +++ b/src/main/java/g0201_0300/s0283_move_zeroes/Solution.java @@ -2,7 +2,7 @@ // #Easy #Top_100_Liked_Questions #Array #Two_Pointers #Algorithm_I_Day_3_Two_Pointers // #Programming_Skills_I_Day_6_Array #Udemy_Arrays #Big_O_Time_O(n)_Space_O(1) -// #2022_07_06_Time_2_ms_(79.54%)_Space_55.7_MB_(5.98%) +// #2024_11_16_Time_2_ms_(83.99%)_Space_45.9_MB_(50.99%) public class Solution { public void moveZeroes(int[] nums) { diff --git a/src/main/java/g0201_0300/s0287_find_the_duplicate_number/Solution.java b/src/main/java/g0201_0300/s0287_find_the_duplicate_number/Solution.java index 15313bf..494072c 100644 --- a/src/main/java/g0201_0300/s0287_find_the_duplicate_number/Solution.java +++ b/src/main/java/g0201_0300/s0287_find_the_duplicate_number/Solution.java @@ -2,7 +2,7 @@ // #Medium #Top_100_Liked_Questions #Array #Binary_Search #Two_Pointers #Bit_Manipulation // #Binary_Search_II_Day_5 #Big_O_Time_O(n)_Space_O(n) -// #2022_07_06_Time_2_ms_(99.82%)_Space_61.1_MB_(83.92%) +// #2024_11_16_Time_2_ms_(97.52%)_Space_59.9_MB_(5.22%) public class Solution { public int findDuplicate(int[] nums) { diff --git a/src/main/java/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.java b/src/main/java/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.java index 77f940a..d19bf12 100644 --- a/src/main/java/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.java +++ b/src/main/java/g0201_0300/s0295_find_median_from_data_stream/MedianFinder.java @@ -1,7 +1,7 @@ package g0201_0300.s0295_find_median_from_data_stream; // #Hard #Top_100_Liked_Questions #Sorting #Two_Pointers #Design #Heap_Priority_Queue #Data_Stream -// #Big_O_Time_O(n*log_n)_Space_O(n) #2022_07_06_Time_151_ms_(80.24%)_Space_125.2_MB_(44.11%) +// #Big_O_Time_O(n*log_n)_Space_O(n) #2024_11_16_Time_83_ms_(99.56%)_Space_63.4_MB_(77.85%) import java.util.PriorityQueue; diff --git a/src/main/java/g0201_0300/s0300_longest_increasing_subsequence/Solution.java b/src/main/java/g0201_0300/s0300_longest_increasing_subsequence/Solution.java index f3f0814..0e6b42e 100644 --- a/src/main/java/g0201_0300/s0300_longest_increasing_subsequence/Solution.java +++ b/src/main/java/g0201_0300/s0300_longest_increasing_subsequence/Solution.java @@ -3,7 +3,7 @@ // #Medium #Top_100_Liked_Questions #Array #Dynamic_Programming #Binary_Search // #Algorithm_II_Day_16_Dynamic_Programming #Binary_Search_II_Day_3 #Dynamic_Programming_I_Day_18 // #Udemy_Dynamic_Programming #Big_O_Time_O(n*log_n)_Space_O(n) -// #2022_07_06_Time_3_ms_(98.63%)_Space_44.3_MB_(60.27%) +// #2024_11_16_Time_3_ms_(95.75%)_Space_43.7_MB_(93.58%) public class Solution { public int lengthOfLIS(int[] nums) { diff --git a/src/main/java/g0301_0400/s0322_coin_change/Solution.java b/src/main/java/g0301_0400/s0322_coin_change/Solution.java index 08ed75c..a338bc3 100644 --- a/src/main/java/g0301_0400/s0322_coin_change/Solution.java +++ b/src/main/java/g0301_0400/s0322_coin_change/Solution.java @@ -3,7 +3,7 @@ // #Medium #Top_100_Liked_Questions #Array #Dynamic_Programming #Breadth_First_Search // #Algorithm_II_Day_18_Dynamic_Programming #Dynamic_Programming_I_Day_20 // #Level_2_Day_12_Dynamic_Programming #Big_O_Time_O(m*n)_Space_O(amount) -// #2022_07_09_Time_17_ms_(91.77%)_Space_41.8_MB_(95.50%) +// #2024_11_16_Time_12_ms_(92.59%)_Space_44.3_MB_(64.02%) public class Solution { public int coinChange(int[] coins, int amount) { diff --git a/src/main/java/g0301_0400/s0338_counting_bits/Solution.java b/src/main/java/g0301_0400/s0338_counting_bits/Solution.java index b8020d5..1c7d258 100644 --- a/src/main/java/g0301_0400/s0338_counting_bits/Solution.java +++ b/src/main/java/g0301_0400/s0338_counting_bits/Solution.java @@ -1,7 +1,7 @@ package g0301_0400.s0338_counting_bits; // #Easy #Dynamic_Programming #Bit_Manipulation #Udemy_Bit_Manipulation -// #Big_O_Time_O(num)_Space_O(num) #2022_07_10_Time_2_ms_(86.73%)_Space_48.3_MB_(31.59%) +// #Big_O_Time_O(num)_Space_O(num) #2024_11_16_Time_2_ms_(96.37%)_Space_46.4_MB_(70.53%) public class Solution { public int[] countBits(int num) { diff --git a/src/main/java/g0301_0400/s0347_top_k_frequent_elements/Solution.java b/src/main/java/g0301_0400/s0347_top_k_frequent_elements/Solution.java index cfed3d5..f6d69f0 100644 --- a/src/main/java/g0301_0400/s0347_top_k_frequent_elements/Solution.java +++ b/src/main/java/g0301_0400/s0347_top_k_frequent_elements/Solution.java @@ -2,7 +2,7 @@ // #Medium #Top_100_Liked_Questions #Array #Hash_Table #Sorting #Heap_Priority_Queue #Counting // #Divide_and_Conquer #Quickselect #Bucket_Sort #Data_Structure_II_Day_20_Heap_Priority_Queue -// #Big_O_Time_O(n*log(n))_Space_O(k) #2022_07_11_Time_9_ms_(97.93%)_Space_48.5_MB_(83.34%) +// #Big_O_Time_O(n*log(n))_Space_O(k) #2024_11_17_Time_9_ms_(97.30%)_Space_45.4_MB_(92.52%) import java.util.Arrays; import java.util.PriorityQueue; diff --git a/src/main/java/g0301_0400/s0394_decode_string/Solution.java b/src/main/java/g0301_0400/s0394_decode_string/Solution.java index b92aa46..ef0191a 100644 --- a/src/main/java/g0301_0400/s0394_decode_string/Solution.java +++ b/src/main/java/g0301_0400/s0394_decode_string/Solution.java @@ -1,7 +1,7 @@ package g0301_0400.s0394_decode_string; // #Medium #Top_100_Liked_Questions #String #Stack #Recursion #Level_1_Day_14_Stack #Udemy_Strings -// #Big_O_Time_O(n)_Space_O(n) #2022_07_15_Time_1_ms_(87.68%)_Space_41.2_MB_(83.30%) +// #Big_O_Time_O(n)_Space_O(n) #2024_11_17_Time_0_ms_(100.00%)_Space_41.5_MB_(58.38%) public class Solution { private int i = 0; diff --git a/src/main/java/g0401_0500/s0416_partition_equal_subset_sum/Solution.java b/src/main/java/g0401_0500/s0416_partition_equal_subset_sum/Solution.java index 80df83f..4bed275 100644 --- a/src/main/java/g0401_0500/s0416_partition_equal_subset_sum/Solution.java +++ b/src/main/java/g0401_0500/s0416_partition_equal_subset_sum/Solution.java @@ -1,25 +1,33 @@ package g0401_0500.s0416_partition_equal_subset_sum; // #Medium #Top_100_Liked_Questions #Array #Dynamic_Programming #Level_2_Day_13_Dynamic_Programming -// #Big_O_Time_O(n*sums)_Space_O(n*sums) #2022_12_29_Time_27_ms_(94.53%)_Space_41.8_MB_(95.29%) +// #Big_O_Time_O(n*sums)_Space_O(n*sums) #2024_11_17_Time_5_ms_(99.88%)_Space_42.2_MB_(85.79%) public class Solution { public boolean canPartition(int[] nums) { - int sums = 0; - for (int num : nums) { - sums += num; + int sum = 0; + for (int val : nums) { + sum += val; } - if (sums % 2 == 1) { + if (sum % 2 != 0) { return false; } - sums /= 2; - boolean[] dp = new boolean[sums + 1]; - dp[0] = true; - for (int num : nums) { - for (int sum = sums; sum >= num; sum--) { - dp[sum] = dp[sum] || dp[sum - num]; + sum /= 2; + boolean[] set = new boolean[sum + 1]; + int[] arr = new int[sum + 2]; + int top = 0; + for (int val : nums) { + for (int i = top; i > -1; i--) { + int tempSum = val + arr[i]; + if (tempSum <= sum && !set[tempSum]) { + if (tempSum == sum) { + return true; + } + set[tempSum] = true; + arr[++top] = tempSum; + } } } - return dp[sums]; + return false; } } diff --git a/src/main/java/g0401_0500/s0437_path_sum_iii/Solution.java b/src/main/java/g0401_0500/s0437_path_sum_iii/Solution.java index c6ea4eb..421cf21 100644 --- a/src/main/java/g0401_0500/s0437_path_sum_iii/Solution.java +++ b/src/main/java/g0401_0500/s0437_path_sum_iii/Solution.java @@ -1,9 +1,10 @@ package g0401_0500.s0437_path_sum_iii; // #Medium #Depth_First_Search #Tree #Binary_Tree #Level_2_Day_7_Tree #Big_O_Time_O(n)_Space_O(n) -// #2022_07_16_Time_18_ms_(45.66%)_Space_42_MB_(88.96%) +// #2024_11_17_Time_2_ms_(100.00%)_Space_44.7_MB_(11.66%) import com_github_leetcode.TreeNode; +import java.util.HashMap; /* * Definition for a binary tree node. @@ -21,28 +22,27 @@ * } */ public class Solution { - private int count = 0; - public int pathSum(TreeNode root, int targetSum) { - if (root == null) { - return 0; - } - helper(root, targetSum, 0); - pathSum(root.left, targetSum); - pathSum(root.right, targetSum); - return count; + HashMap h = new HashMap<>(); + return dfs(root, targetSum, h, 0L); } - public void helper(TreeNode node, int targetSum, long currSum) { - currSum += node.val; - if (targetSum == currSum) { - count++; + int dfs(TreeNode root, int t, HashMap h, Long cs) { + int s = 0; + if (root == null) { + return 0; } - if (node.left != null) { - helper(node.left, targetSum, currSum); + Long k = cs + root.val; + if (k == t) { + s += 1; } - if (node.right != null) { - helper(node.right, targetSum, currSum); + if (h.getOrDefault(k - t, 0) > 0) { + s += h.get(k - t); } + h.put(k, h.getOrDefault(k, 0) + 1); + s += dfs(root.left, t, h, k); + s += dfs(root.right, t, h, k); + h.put(k, h.getOrDefault(k, 0) - 1); + return s; } } diff --git a/src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.java b/src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.java index 0d5cdf3..f212b54 100644 --- a/src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.java +++ b/src/main/java/g0401_0500/s0438_find_all_anagrams_in_a_string/Solution.java @@ -3,7 +3,7 @@ // #Medium #Top_100_Liked_Questions #String #Hash_Table #Sliding_Window // #Algorithm_II_Day_5_Sliding_Window #Programming_Skills_II_Day_12 // #Level_1_Day_12_Sliding_Window/Two_Pointer #Big_O_Time_O(n+m)_Space_O(1) -// #2022_07_16_Time_6_ms_(99.03%)_Space_47.9_MB_(50.50%) +// #2024_11_17_Time_3_ms_(99.83%)_Space_44.7_MB_(74.83%) import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/g0401_0500/s0494_target_sum/Solution.java b/src/main/java/g0401_0500/s0494_target_sum/Solution.java index 8532aba..bef704a 100644 --- a/src/main/java/g0401_0500/s0494_target_sum/Solution.java +++ b/src/main/java/g0401_0500/s0494_target_sum/Solution.java @@ -1,37 +1,45 @@ package g0401_0500.s0494_target_sum; // #Medium #Array #Dynamic_Programming #Backtracking #Big_O_Time_O(n*(sum+s))_Space_O(n*(sum+s)) -// #2022_07_21_Time_9_ms_(79.99%)_Space_45.2_MB_(32.79%) +// #2024_11_17_Time_4_ms_(92.28%)_Space_42.7_MB_(57.04%) public class Solution { - public int findTargetSumWays(int[] nums, int s) { - int sum = 0; - s = Math.abs(s); - for (int num : nums) { - sum += num; + public int findTargetSumWays(int[] nums, int target) { + int totalSum = 0; + int n = nums.length; + for (int i = 0; i < n; i++) { + totalSum += nums[i]; } - // Invalid s, just return 0 - if (s > sum || (sum + s) % 2 != 0) { + int sum = totalSum - target; + if (sum < 0 || sum % 2 == 1) { return 0; } - int[][] dp = new int[(sum + s) / 2 + 1][nums.length + 1]; - dp[0][0] = 1; - // empty knapsack must be processed specially - for (int i = 0; i < nums.length; i++) { - if (nums[i] == 0) { - dp[0][i + 1] = dp[0][i] * 2; - } else { - dp[0][i + 1] = dp[0][i]; - } + return solve(nums, sum / 2); + } + + private int solve(int[] nums, int target) { + int[] prev = new int[target + 1]; + if (nums[0] == 0) { + prev[0] = 2; + } else { + prev[0] = 1; + } + if (nums[0] != 0 && nums[0] <= target) { + prev[nums[0]] = 1; } - for (int i = 1; i < dp.length; i++) { - for (int j = 0; j < nums.length; j++) { - dp[i][j + 1] += dp[i][j]; - if (nums[j] <= i) { - dp[i][j + 1] += dp[i - nums[j]][j]; + int n = nums.length; + for (int i = 1; i < n; i++) { + int[] curr = new int[target + 1]; + for (int j = 0; j <= target; j++) { + int taken = 0; + if (j >= nums[i]) { + taken = prev[j - nums[i]]; } + int nonTaken = prev[j]; + curr[j] = taken + nonTaken; } + prev = curr; } - return dp[(sum + s) / 2][nums.length]; + return prev[target]; } } diff --git a/src/main/java/g0501_0600/s0543_diameter_of_binary_tree/Solution.java b/src/main/java/g0501_0600/s0543_diameter_of_binary_tree/Solution.java index 670040d..e2c4f66 100644 --- a/src/main/java/g0501_0600/s0543_diameter_of_binary_tree/Solution.java +++ b/src/main/java/g0501_0600/s0543_diameter_of_binary_tree/Solution.java @@ -2,7 +2,7 @@ // #Easy #Top_100_Liked_Questions #Depth_First_Search #Tree #Binary_Tree #Level_2_Day_7_Tree // #Udemy_Tree_Stack_Queue #Big_O_Time_O(n)_Space_O(n) -// #2022_08_02_Time_1_ms_(65.86%)_Space_43.5_MB_(33.52%) +// #2024_11_17_Time_0_ms_(100.00%)_Space_44.5_MB_(74.23%) import com_github_leetcode.TreeNode; diff --git a/src/main/java/g0501_0600/s0560_subarray_sum_equals_k/Solution.java b/src/main/java/g0501_0600/s0560_subarray_sum_equals_k/Solution.java index 050e690..dfd7963 100644 --- a/src/main/java/g0501_0600/s0560_subarray_sum_equals_k/Solution.java +++ b/src/main/java/g0501_0600/s0560_subarray_sum_equals_k/Solution.java @@ -1,7 +1,7 @@ package g0501_0600.s0560_subarray_sum_equals_k; // #Medium #Top_100_Liked_Questions #Array #Hash_Table #Prefix_Sum #Data_Structure_II_Day_5_Array -// #Big_O_Time_O(n)_Space_O(n) #2022_08_03_Time_21_ms_(98.97%)_Space_46.8_MB_(88.27%) +// #Big_O_Time_O(n)_Space_O(n) #2024_11_17_Time_22_ms_(95.17%)_Space_47.2_MB_(6.13%) import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/g0601_0700/s0647_palindromic_substrings/Solution.java b/src/main/java/g0601_0700/s0647_palindromic_substrings/Solution.java index c9cedb8..aaf35c2 100644 --- a/src/main/java/g0601_0700/s0647_palindromic_substrings/Solution.java +++ b/src/main/java/g0601_0700/s0647_palindromic_substrings/Solution.java @@ -1,7 +1,7 @@ package g0601_0700.s0647_palindromic_substrings; // #Medium #String #Dynamic_Programming #Big_O_Time_O(n^2)_Space_O(n) -// #2022_03_21_Time_2_ms_(98.77%)_Space_41.7_MB_(75.10%) +// #2024_11_17_Time_2_ms_(99.31%)_Space_41.4_MB_(77.04%) public class Solution { private void expand(char[] a, int l, int r, int[] res) { diff --git a/src/main/java/g0701_0800/s0739_daily_temperatures/Solution.java b/src/main/java/g0701_0800/s0739_daily_temperatures/Solution.java index e272286..86c5856 100644 --- a/src/main/java/g0701_0800/s0739_daily_temperatures/Solution.java +++ b/src/main/java/g0701_0800/s0739_daily_temperatures/Solution.java @@ -1,7 +1,7 @@ package g0701_0800.s0739_daily_temperatures; // #Medium #Top_100_Liked_Questions #Array #Stack #Monotonic_Stack #Programming_Skills_II_Day_6 -// #Big_O_Time_O(n)_Space_O(n) #2022_03_25_Time_10_ms_(94.99%)_Space_118.3_MB_(70.21%) +// #Big_O_Time_O(n)_Space_O(n) #2024_11_17_Time_8_ms_(96.83%)_Space_60.6_MB_(55.93%) @SuppressWarnings("java:S135") public class Solution { diff --git a/src/main/java/g0701_0800/s0763_partition_labels/Solution.java b/src/main/java/g0701_0800/s0763_partition_labels/Solution.java index 277b25d..8715414 100644 --- a/src/main/java/g0701_0800/s0763_partition_labels/Solution.java +++ b/src/main/java/g0701_0800/s0763_partition_labels/Solution.java @@ -1,7 +1,7 @@ package g0701_0800.s0763_partition_labels; // #Medium #String #Hash_Table #Greedy #Two_Pointers #Data_Structure_II_Day_7_String -// #Big_O_Time_O(n)_Space_O(1) #2022_03_26_Time_1_ms_(100.00%)_Space_40.3_MB_(98.19%) +// #Big_O_Time_O(n)_Space_O(1) #2024_11_17_Time_2_ms_(100.00%)_Space_41.9_MB_(73.06%) import java.util.ArrayList; import java.util.List; diff --git a/src/main/java/g1101_1200/s1143_longest_common_subsequence/Solution.java b/src/main/java/g1101_1200/s1143_longest_common_subsequence/Solution.java index 5a48ae3..eef86af 100644 --- a/src/main/java/g1101_1200/s1143_longest_common_subsequence/Solution.java +++ b/src/main/java/g1101_1200/s1143_longest_common_subsequence/Solution.java @@ -3,7 +3,7 @@ // #Medium #Top_100_Liked_Questions #String #Dynamic_Programming // #Algorithm_II_Day_17_Dynamic_Programming #Dynamic_Programming_I_Day_19 // #Udemy_Dynamic_Programming #Big_O_Time_O(n*m)_Space_O(n*m) -// #2023_06_01_Time_33_ms_(46.23%)_Space_48.2_MB_(90.63%) +// #2024_11_17_Time_19_ms_(89.05%)_Space_50.9_MB_(33.70%) public class Solution { public int longestCommonSubsequence(String text1, String text2) {