File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
s3550_smallest_index_with_digit_sum_equal_to_index
s3551_minimum_swaps_to_sort_by_digit_sum
s3552_grid_teleportation_traversal
s3553_minimum_weighted_subgraph_with_the_required_paths_ii Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11package g3501_3600 .s3550_smallest_index_with_digit_sum_equal_to_index ;
22
3- // #Easy #2025_05_18_Time_1_ms_ (100.00%)_Space_44.64_MB_(29.63 %)
3+ // #Easy #Array #Math #2025_05_20_Time_1_ms_ (100.00%)_Space_44.55_MB_(45.19 %)
44
55public class Solution {
66 private int sum (int num ) {
Original file line number Diff line number Diff line change 11package g3501_3600 .s3551_minimum_swaps_to_sort_by_digit_sum ;
22
3- // #Medium #2025_05_18_Time_211_ms_ (99.38%)_Space_61.54_MB_(92.80 %)
3+ // #Medium #Array #Hash_Table #Sorting #2025_05_20_Time_213_ms_ (99.23%)_Space_62.28_MB_(84.68 %)
44
55import java .util .Arrays ;
66
Original file line number Diff line number Diff line change 11package g3501_3600 .s3552_grid_teleportation_traversal ;
22
3- // #Medium #2025_05_18_Time_139_ms_(99.44%)_Space_61.40_MB_(98.89%)
3+ // #Medium #Array #Hash_Table #Breadth_First_Search #Matrix
4+ // #2025_05_20_Time_146_ms_(98.62%)_Space_60.98_MB_(99.48%)
45
56import java .util .ArrayList ;
67import java .util .LinkedList ;
Original file line number Diff line number Diff line change 11package g3501_3600 .s3553_minimum_weighted_subgraph_with_the_required_paths_ii ;
22
3- // #Hard #2025_05_18_Time_79_ms_(99.45%)_Space_109.90_MB_(66.85 %)
3+ // #Hard #Array #Depth_First_Search #Tree #2025_05_20_Time_65_ms_(100.00%)_Space_135.10_MB_(31.63 %)
44
55import java .util .ArrayList ;
66import java .util .Arrays ;
You can’t perform that action at this time.
0 commit comments