File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
s3652_best_time_to_buy_and_sell_stock_using_strategy
s3653_xor_after_range_multiplication_queries_i
s3655_xor_after_range_multiplication_queries_ii Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
package g3601_3700 .s3652_best_time_to_buy_and_sell_stock_using_strategy ;
2
2
3
- // #Medium #Weekly_Contest_463 #2025_08_17_Time_5_ms_(94.85%)_Space_57.60_MB_(83.20%)
3
+ // #Medium #Array #Prefix_Sum #Sliding_Window #Weekly_Contest_463
4
+ // #2025_08_20_Time_5_ms_(94.41%)_Space_61.50_MB_(6.75%)
4
5
5
6
public class Solution {
6
7
public long maxProfit (int [] p , int [] s , int k ) {
Original file line number Diff line number Diff line change 1
1
package g3601_3700 .s3653_xor_after_range_multiplication_queries_i ;
2
2
3
- // #Medium #Weekly_Contest_463 #2025_08_17_Time_18_ms_(100.00%)_Space_45.66_MB_(56.67%)
3
+ // #Medium #Array #Simulation #Divide_and_Conquer #Weekly_Contest_463
4
+ // #2025_08_20_Time_19_ms_(99.95%)_Space_45.39_MB_(92.88%)
4
5
5
6
import java .util .Arrays ;
6
7
import java .util .HashMap ;
Original file line number Diff line number Diff line change 1
1
package g3601_3700 .s3655_xor_after_range_multiplication_queries_ii ;
2
2
3
- // #Hard #Weekly_Contest_463 #2025_08_17_Time_14_ms_(100.00%)_Space_131.67_MB_(10.65%)
3
+ // #Hard #Array #Divide_and_Conquer #Weekly_Contest_463
4
+ // #2025_08_20_Time_22_ms_(94.97%)_Space_130.66_MB_(13.60%)
4
5
5
6
import java .util .ArrayList ;
6
7
import java .util .Arrays ;
You can’t perform that action at this time.
0 commit comments