File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
src/main/kotlin/g3301_3400
s3375_minimum_operations_to_make_array_values_equal_to_k
s3376_minimum_time_to_break_locks_i
s3377_digit_operations_to_make_two_integers_equal
s3378_count_connected_components_in_lcm_graph Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11package g3301_3400.s3375_minimum_operations_to_make_array_values_equal_to_k
22
3- // #Easy #2024_12_08_Time_191_ms_(100.00%)_Space_39.9_MB_(100.00%)
3+ // #Easy #Array #Hash_Table # 2024_12_08_Time_191_ms_(100.00%)_Space_39.9_MB_(100.00%)
44
55class Solution {
66 fun minOperations (nums : IntArray , k : Int ): Int {
Original file line number Diff line number Diff line change 11package g3301_3400.s3376_minimum_time_to_break_locks_i
22
3- // #Medium #2024_12_08_Time_202_ms_(100.00%)_Space_40_MB_(100.00%)
3+ // #Medium #Array #Dynamic_Programming #Bit_Manipulation #Backtracking #Bitmask
4+ // #2024_12_08_Time_202_ms_(100.00%)_Space_40_MB_(100.00%)
45
56import kotlin.math.min
67
Original file line number Diff line number Diff line change 11package g3301_3400.s3377_digit_operations_to_make_two_integers_equal
22
3- // #Medium #2024_12_08_Time_215_ms_(100.00%)_Space_40.7_MB_(100.00%)
3+ // #Medium #Math #Heap_Priority_Queue #Graph #Shortest_Path #Number_Theory
4+ // #2024_12_08_Time_215_ms_(100.00%)_Space_40.7_MB_(100.00%)
45
56import java.util.PriorityQueue
67
Original file line number Diff line number Diff line change 11package g3301_3400.s3378_count_connected_components_in_lcm_graph
22
3- // #Hard #2024_12_08_Time_58_ms_(100.00%)_Space_54.4_MB_(100.00%)
3+ // #Hard #Array #Hash_Table #Math #Union_Find #Number_Theory
4+ // #2024_12_08_Time_58_ms_(100.00%)_Space_54.4_MB_(100.00%)
45
56class Solution {
67 private class UnionFind (n : Int ) {
You can’t perform that action at this time.
0 commit comments