File tree 4 files changed +7
-4
lines changed
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_0_ms_(100.00%)_Space_41.45_MB_(28.76 %)
3
+ // #Easy #Math #Sorting #2025_05_06_Time_1_ms_(95.82%)_Space_40.95_MB_(91.71 %)
4
4
5
5
public class Solution {
6
6
public int maxProduct (int n ) {
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_87.25_MB_(7.46%)
3
+ // #Medium #Array #Matrix #Divide_and_Conquer
4
+ // #2025_05_06_Time_2_ms_(100.00%)_Space_87.14_MB_(16.42%)
4
5
5
6
public class Solution {
6
7
public int [][] specialGrid (int n ) {
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_7_ms_(100.00%)_Space_45.31_MB_(79.31%)
3
+ // #Hard #Array #Dynamic_Programming #Prefix_Sum
4
+ // #2025_05_06_Time_7_ms_(99.32%)_Space_45.14_MB_(87.16%)
4
5
5
6
@ SuppressWarnings ({"unused" , "java:S1172" })
6
7
public class Solution {
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_39_ms_(97.56%)_Space_44.79_MB_(87.80%)
3
+ // #Hard #Array #Dynamic_Programming #Math #Bit_Manipulation #Bitmask #Combinatorics
4
+ // #2025_05_06_Time_39_ms_(95.71%)_Space_44.58_MB_(98.57%)
4
5
5
6
import java .util .Arrays ;
6
7
You can’t perform that action at this time.
0 commit comments