File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
src/main/kotlin/g3501_3600
s3536_maximum_product_of_two_digits
s3537_fill_a_special_grid
s3538_merge_operations_for_minimum_travel_time
s3539_find_sum_of_array_product_of_magical_sequences Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11package g3501_3600.s3536_maximum_product_of_two_digits
22
3- // #Easy #2025_05_04_Time_1_ms_(100.00%)_Space_40.93_MB_(100.00%)
3+ // #Easy #Math #Sorting # 2025_05_04_Time_1_ms_(100.00%)_Space_40.93_MB_(100.00%)
44
55class Solution {
66 fun maxProduct (n : Int ): Int {
Original file line number Diff line number Diff line change 11package g3501_3600.s3537_fill_a_special_grid
22
3- // #Medium #2025_05_04_Time_2_ms_(100.00%)_Space_88.71_MB_(61.54%)
3+ // #Medium #Array #Matrix #Divide_and_Conquer
4+ // #2025_05_04_Time_2_ms_(100.00%)_Space_88.71_MB_(61.54%)
45
56import kotlin.math.pow
67
Original file line number Diff line number Diff line change 11package g3501_3600.s3538_merge_operations_for_minimum_travel_time
22
3- // #Hard #2025_05_04_Time_10_ms_(100.00%)_Space_46.96_MB_(100.00%)
3+ // #Hard #Array #Dynamic_Programming #Prefix_Sum
4+ // #2025_05_04_Time_10_ms_(100.00%)_Space_46.96_MB_(100.00%)
45
56import kotlin.math.min
67
Original file line number Diff line number Diff line change 11package g3501_3600.s3539_find_sum_of_array_product_of_magical_sequences
22
3- // #Hard #2025_05_04_Time_58_ms_(_%)_Space_49.73_MB_(_%)
3+ // #Hard #Array #Dynamic_Programming #Math #Bit_Manipulation #Bitmask #Combinatorics
4+ // #2025_05_04_Time_58_ms_(_%)_Space_49.73_MB_(_%)
45
56class Solution {
67 fun magicalSum (m : Int , k : Int , nums : IntArray ): Int {
You can’t perform that action at this time.
0 commit comments