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
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3536_maximum_product_of_two_digits
2
2
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%)
4
4
5
5
class Solution {
6
6
fun maxProduct (n : Int ): Int {
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3537_fill_a_special_grid
2
2
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%)
4
5
5
6
import kotlin.math.pow
6
7
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3538_merge_operations_for_minimum_travel_time
2
2
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%)
4
5
5
6
import kotlin.math.min
6
7
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3539_find_sum_of_array_product_of_magical_sequences
2
2
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_(_%)
4
5
5
6
class Solution {
6
7
fun magicalSum (m : Int , k : Int , nums : IntArray ): Int {
You can’t perform that action at this time.
0 commit comments