File tree Expand file tree Collapse file tree 14 files changed +1
-14
lines changed
main/kotlin/g0001_0100/s0015_3sum
s2806_account_balance_after_rounded_purchase
s2807_insert_greatest_common_divisors_in_linked_list
s2808_minimum_seconds_to_equalize_a_circular_array
s2809_minimum_time_to_make_array_sum_at_most_x
s2811_check_if_it_is_possible_to_split_array
s2812_find_the_safest_path_in_a_grid
s2813_maximum_elegance_of_a_k_length_subsequence
s2815_max_pair_sum_in_an_array
s2816_double_a_number_represented_as_a_linked_list
s2817_minimum_absolute_difference_between_elements_with_constraint
s2818_apply_operations_to_maximize_score
s2824_count_pairs_whose_sum_is_less_than_target Expand file tree Collapse file tree 14 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package g0001_0100.s0015_3sum
22
33// #Medium #Top_100_Liked_Questions #Top_Interview_Questions #Array #Sorting #Two_Pointers
44// #Data_Structure_II_Day_1_Array #Algorithm_II_Day_3_Two_Pointers #Udemy_Two_Pointers
5- // #Big_O_Time_O(n^2) _Space_O(1 ) #2023_07_03_Time_493_ms_(93.45%)_Space_53_MB_(93.97%)
5+ // #Big_O_Time_O(n*log(n)) _Space_O(n^2 ) #2023_07_03_Time_493_ms_(93.45%)_Space_53_MB_(93.97%)
66
77class Solution {
88 fun threeSum (nums : IntArray ): List <List <Int >> {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Easy #Math
87internal class SolutionTest {
98 @Test
109 fun accountBalanceAfterPurchase () {
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import org.hamcrest.CoreMatchers.equalTo
55import org.hamcrest.MatcherAssert.assertThat
66import org.junit.jupiter.api.Test
77
8- // #Medium #Array #Math #Linked_List
98internal class SolutionTest {
109 @Test
1110 fun insertGreatestCommonDivisors () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Medium #Array #Hash_Table #Greedy
87internal class SolutionTest {
98 @Test
109 fun minimumSeconds () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Hard #Array #Dynamic_Programming #Sorting
87internal class SolutionTest {
98 @Test
109 fun minimumTime () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Easy #String #Simulation
87internal class SolutionTest {
98 @Test
109 fun finalString () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Medium #Array #Dynamic_Programming #Greedy
87internal class SolutionTest {
98 @Test
109 fun canSplitArray () {
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import org.hamcrest.CoreMatchers.equalTo
55import org.hamcrest.MatcherAssert.assertThat
66import org.junit.jupiter.api.Test
77
8- // #Medium #Array #Breadth_First_Search #Binary_Search #Matrix #Union_Find
98internal class SolutionTest {
109 @Test
1110 fun maximumSafenessFactor () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Hard #Array #Hash_Table #Sorting #Greedy #Heap_Priority_Queue
87internal class SolutionTest {
98 @Test
109 fun findMaximumElegance () {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import org.hamcrest.CoreMatchers.equalTo
44import org.hamcrest.MatcherAssert.assertThat
55import org.junit.jupiter.api.Test
66
7- // #Easy #Array #Hash_Table
87internal class SolutionTest {
98 @Test
109 fun maxSum () {
You can’t perform that action at this time.
0 commit comments