File tree Expand file tree Collapse file tree 8 files changed +15
-8
lines changed
src/main/kotlin/g3601_3700
s3618_split_array_by_prime_indices
s3619_count_islands_with_total_value_divisible_by_k
s3620_network_recovery_pathways
s3621_number_of_integers_with_popcount_depth_equal_to_k_i
s3622_check_divisibility_by_digit_sum_and_product
s3623_count_number_of_trapezoids_i
s3624_number_of_integers_with_popcount_depth_equal_to_k_ii
s3625_count_number_of_trapezoids_ii Expand file tree Collapse file tree 8 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3618_split_array_by_prime_indices
2
2
3
- // #Medium #Biweekly_Contest_161 #2025_07_22_Time_6_ms_(100.00%)_Space_78.20_MB_(81.48%)
3
+ // #Medium #Array #Math #Number_Theory #Biweekly_Contest_161
4
+ // #2025_07_22_Time_6_ms_(100.00%)_Space_78.20_MB_(81.48%)
4
5
5
6
import kotlin.math.abs
6
7
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3619_count_islands_with_total_value_divisible_by_k
2
2
3
- // #Medium #Biweekly_Contest_161 #2025_07_22_Time_14_ms_(100.00%)_Space_86.20_MB_(47.83%)
3
+ // #Medium #Array #Depth_First_Search #Breadth_First_Search #Matrix #Union_Find
4
+ // #Biweekly_Contest_161 #2025_07_22_Time_14_ms_(100.00%)_Space_86.20_MB_(47.83%)
4
5
5
6
class Solution {
6
7
private var m = 0
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3620_network_recovery_pathways
2
2
3
- // #Hard #Biweekly_Contest_161 #2025_07_22_Time_212_ms_(66.67%)_Space_150.09_MB_(13.33%)
3
+ // #Hard #Array #Dynamic_Programming #Binary_Search #Heap_Priority_Queue #Graph #Topological_Sort
4
+ // #Shortest_Path #Biweekly_Contest_161 #2025_07_22_Time_212_ms_(66.67%)_Space_150.09_MB_(13.33%)
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 g3601_3700.s3621_number_of_integers_with_popcount_depth_equal_to_k_i
2
2
3
- // #Hard #Biweekly_Contest_161 #2025_07_22_Time_2_ms_(100.00%)_Space_41.19_MB_(100.00%)
3
+ // #Hard #Dynamic_Programming #Math #Combinatorics #Biweekly_Contest_161
4
+ // #2025_07_22_Time_2_ms_(100.00%)_Space_41.19_MB_(100.00%)
4
5
5
6
class Solution {
6
7
companion object {
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3622_check_divisibility_by_digit_sum_and_product
2
2
3
- // #Easy #Weekly_Contest_459 #2025_07_22_Time_0_ms_(100.00%)_Space_40.35_MB_(100.00%)
3
+ // #Easy #Math # Weekly_Contest_459 #2025_07_22_Time_0_ms_(100.00%)_Space_40.35_MB_(100.00%)
4
4
5
5
class Solution {
6
6
fun checkDivisibility (n : Int ): Boolean {
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3623_count_number_of_trapezoids_i
2
2
3
- // #Medium #Weekly_Contest_459 #2025_07_22_Time_58_ms_(68.00%)_Space_139.38_MB_(8.00%)
3
+ // #Medium #Array #Hash_Table #Math #Geometry #Weekly_Contest_459
4
+ // #2025_07_22_Time_58_ms_(68.00%)_Space_139.38_MB_(8.00%)
4
5
5
6
class Solution {
6
7
fun countTrapezoids (points : Array <IntArray >): Int {
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3624_number_of_integers_with_popcount_depth_equal_to_k_ii
2
2
3
- // #Hard #Weekly_Contest_459 #2025_07_22_Time_38_ms_(100.00%)_Space_134.15_MB_(100.00%)
3
+ // #Hard #Array #Segment_Tree #Weekly_Contest_459
4
+ // #2025_07_22_Time_38_ms_(100.00%)_Space_134.15_MB_(100.00%)
4
5
5
6
class Solution {
6
7
private fun computeDepth (number : Long ): Int {
Original file line number Diff line number Diff line change 1
1
package g3601_3700.s3625_count_number_of_trapezoids_ii
2
2
3
- // #Hard #Weekly_Contest_459 #2025_07_22_Time_377_ms_(100.00%)_Space_162.04_MB_(37.50%)
3
+ // #Hard #Array #Hash_Table #Math #Geometry #Weekly_Contest_459
4
+ // #2025_07_22_Time_377_ms_(100.00%)_Space_162.04_MB_(37.50%)
4
5
5
6
import kotlin.math.abs
6
7
You can’t perform that action at this time.
0 commit comments