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 1
1
package g3301_3400.s3375_minimum_operations_to_make_array_values_equal_to_k
2
2
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%)
4
4
5
5
class Solution {
6
6
fun minOperations (nums : IntArray , k : Int ): Int {
Original file line number Diff line number Diff line change 1
1
package g3301_3400.s3376_minimum_time_to_break_locks_i
2
2
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%)
4
5
5
6
import kotlin.math.min
6
7
Original file line number Diff line number Diff line change 1
1
package g3301_3400.s3377_digit_operations_to_make_two_integers_equal
2
2
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%)
4
5
5
6
import java.util.PriorityQueue
6
7
Original file line number Diff line number Diff line change 1
1
package g3301_3400.s3378_count_connected_components_in_lcm_graph
2
2
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%)
4
5
5
6
class Solution {
6
7
private class UnionFind (n : Int ) {
You can’t perform that action at this time.
0 commit comments