File tree 4 files changed +6
-4
lines changed
src/main/kotlin/g3501_3600
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
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3550_smallest_index_with_digit_sum_equal_to_index
2
2
3
- // #Easy #2025_05_18_Time_1_ms_(100.00%)_Space_44.87_MB_(100.00%)
3
+ // #Easy #Array #Math # 2025_05_18_Time_1_ms_(100.00%)_Space_44.87_MB_(100.00%)
4
4
5
5
class Solution {
6
6
private fun sum (num : Int ): Int {
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3551_minimum_swaps_to_sort_by_digit_sum
2
2
3
- // #Medium #2025_05_18_Time_481_ms_(83.33%)_Space_78.86_MB_(94.44%)
3
+ // #Medium #Array #Hash_Table #Sorting # 2025_05_18_Time_481_ms_(83.33%)_Space_78.86_MB_(94.44%)
4
4
5
5
class Solution {
6
6
private class Pair (var sum : Int , var value : Int , var index : Int )
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3552_grid_teleportation_traversal
2
2
3
- // #Medium #2025_05_18_Time_147_ms_(100.00%)_Space_87.53_MB_(100.00%)
3
+ // #Medium #Array #Hash_Table #Breadth_First_Search #Matrix
4
+ // #2025_05_18_Time_147_ms_(100.00%)_Space_87.53_MB_(100.00%)
4
5
5
6
import java.util.LinkedList
6
7
import java.util.Queue
Original file line number Diff line number Diff line change 1
1
package g3501_3600.s3553_minimum_weighted_subgraph_with_the_required_paths_ii
2
2
3
- // #Hard #2025_05_18_Time_142_ms_(100.00%)_Space_131.32_MB_(100.00%)
3
+ // #Hard #Array #Depth_First_Search #Tree
4
+ // #2025_05_18_Time_142_ms_(100.00%)_Space_131.32_MB_(100.00%)
4
5
5
6
import kotlin.math.max
6
7
You can’t perform that action at this time.
0 commit comments