File tree Expand file tree Collapse file tree 6 files changed +11
-7
lines changed
s3701_compute_alternating_sum
s3702_longest_subsequence_with_non_zero_bitwise_xor
s3703_remove_k_balanced_substrings
s3704_count_no_zero_pairs_that_sum_to_n
s3710_maximum_partition_factor
s3715_sum_of_perfect_square_ancestors Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11package g3701_3800 .s3701_compute_alternating_sum ;
22
3- // #Easy #Weekly_Contest_470 #2025_10_05_Time_1_ms_(100.00%)_Space_44.28_MB_(66.67%)
3+ // #Easy #Array #Simulation #Weekly_Contest_470
4+ // #2025_10_05_Time_1_ms_(100.00%)_Space_44.28_MB_(66.67%)
45
56public class Solution {
67 public int alternatingSum (int [] nums ) {
Original file line number Diff line number Diff line change 11package g3701_3800 .s3702_longest_subsequence_with_non_zero_bitwise_xor ;
22
3- // #Medium #Weekly_Contest_470 #2025_10_05_Time_2_ms_(100.00%)_Space_64.20_MB_(100.00%)
3+ // #Medium #Array #Bit_Manipulation #Weekly_Contest_470
4+ // #2025_10_05_Time_2_ms_(100.00%)_Space_64.20_MB_(100.00%)
45
56public class Solution {
67 public int longestSubsequence (int [] nums ) {
Original file line number Diff line number Diff line change 11package g3701_3800 .s3703_remove_k_balanced_substrings ;
22
3- // #Medium #Weekly_Contest_470 #2025_10_05_Time_191_ms_(100.00%)_Space_45.86_MB_(100.00%)
3+ // #Medium #String #Stack #Simulation #Weekly_Contest_470
4+ // #2025_10_05_Time_191_ms_(100.00%)_Space_45.86_MB_(100.00%)
45
56public class Solution {
67 public String removeSubstring (String s , int k ) {
Original file line number Diff line number Diff line change 11package g3701_3800 .s3704_count_no_zero_pairs_that_sum_to_n ;
22
3- // #Hard #Weekly_Contest_470 #2025_10_05_Time_4_ms_(97.37%)_Space_41.07_MB_(100.00%)
3+ // #Hard #Dynamic_Programming #Math #Weekly_Contest_470
4+ // #2025_10_05_Time_4_ms_(97.37%)_Space_41.07_MB_(100.00%)
45
56public class Solution {
67 public long countNoZeroPairs (long n ) {
Original file line number Diff line number Diff line change 11package g3701_3800 .s3710_maximum_partition_factor ;
22
3- // #Hard #Array #Binary_Search #Graph #Union_Find #Biweekly_Contest_167 #Depth_First_Search
4- // #Breadth_First_Search #2025_10_14_Time_46_ms_(99.31%)_Space_45.31_MB_(84.72%)
3+ // #Hard #Array #Depth_First_Search #Breadth_First_Search #Binary_Search #Graph #Union_Find
4+ // #Biweekly_Contest_167 #2025_10_14_Time_46_ms_(99.31%)_Space_45.31_MB_(84.72%)
55
66import java .util .Arrays ;
77
Original file line number Diff line number Diff line change 11package g3701_3800 .s3715_sum_of_perfect_square_ancestors ;
22
3- // #Hard #Array #Hash_Table #Math #Tree #Counting #Number_Theory #Depth_First_Search
3+ // #Hard #Array #Hash_Table #Math #Depth_First_Search # Tree #Counting #Number_Theory
44// #Weekly_Contest_471 #2025_10_14_Time_122_ms_(98.09%)_Space_123.31_MB_(49.05%)
55
66import java .util .ArrayList ;
You can’t perform that action at this time.
0 commit comments