File tree Expand file tree Collapse file tree 8 files changed +12
-8
lines changed
src/main/kotlin/g3401_3500
s3483_unique_3_digit_even_numbers
s3485_longest_common_prefix_of_k_strings_after_removal
s3486_longest_special_path_ii
s3487_maximum_unique_subarray_sum_after_deletion
s3488_closest_equal_element_queries
s3489_zero_array_transformation_iv
s3490_count_beautiful_numbers Expand file tree Collapse file tree 8 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3483_unique_3_digit_even_numbers
2
2
3
- // #Easy #2025_03_16_Time_6_ms_(100.00%)_Space_44.99_MB_(100.00%)
3
+ // #Easy #Array #Hash_Table #Recursion #Enumeration
4
+ // #2025_03_16_Time_6_ms_(100.00%)_Space_44.99_MB_(100.00%)
4
5
5
6
class Solution {
6
7
fun totalNumbers (digits : IntArray ): Int {
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3484_design_spreadsheet
2
2
3
- // #Medium #2025_03_16_Time_176_ms_(100.00%)_Space_79.62_MB_(100.00%)
3
+ // #Medium #Array #String #Hash_Table #Matrix #Design
4
+ // #2025_03_16_Time_176_ms_(100.00%)_Space_79.62_MB_(100.00%)
4
5
5
6
@Suppress(" unused" )
6
7
class Spreadsheet (rows : Int ) {
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3485_longest_common_prefix_of_k_strings_after_removal
2
2
3
- // #Hard #2025_03_16_Time_251_ms_(100.00%)_Space_86.10_MB_(100.00%)
3
+ // #Hard #Array #String #Trie # 2025_03_16_Time_251_ms_(100.00%)_Space_86.10_MB_(100.00%)
4
4
5
5
import kotlin.math.max
6
6
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3486_longest_special_path_ii
2
2
3
- // #Hard #2025_03_16_Time_255_ms_(100.00%)_Space_125.42_MB_(100.00%)
3
+ // #Hard #Array #Hash_Table #Depth_First_Search #Tree #Prefix_Sum
4
+ // #2025_03_16_Time_255_ms_(100.00%)_Space_125.42_MB_(100.00%)
4
5
5
6
@Suppress(" kotlin:S107" )
6
7
class Solution {
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3487_maximum_unique_subarray_sum_after_deletion
2
2
3
- // #Easy #2025_03_16_Time_4_ms_(100.00%)_Space_43.27_MB_(100.00%)
3
+ // #Easy #Array #Hash_Table #Greedy # 2025_03_16_Time_4_ms_(100.00%)_Space_43.27_MB_(100.00%)
4
4
5
5
class Solution {
6
6
fun maxSum (nums : IntArray ): Int {
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3488_closest_equal_element_queries
2
2
3
- // #Medium #2025_03_16_Time_93_ms_(100.00%)_Space_99.42_MB_(100.00%)
3
+ // #Medium #Array #Hash_Table #Binary_Search
4
+ // #2025_03_16_Time_93_ms_(100.00%)_Space_99.42_MB_(100.00%)
4
5
5
6
import kotlin.math.abs
6
7
import kotlin.math.min
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3489_zero_array_transformation_iv
2
2
3
- // #Medium #2025_03_16_Time_104_ms_(100.00%)_Space_73.10_MB_(100.00%)
3
+ // #Medium #Array #Dynamic_Programming # 2025_03_16_Time_104_ms_(100.00%)_Space_73.10_MB_(100.00%)
4
4
5
5
import kotlin.math.max
6
6
import kotlin.math.min
Original file line number Diff line number Diff line change 1
1
package g3401_3500.s3490_count_beautiful_numbers
2
2
3
- // #Hard #2025_03_16_Time_246_ms_(100.00%)_Space_61.00_MB_(100.00%)
3
+ // #Hard #Dynamic_Programming # 2025_03_16_Time_246_ms_(100.00%)_Space_61.00_MB_(100.00%)
4
4
5
5
class Solution {
6
6
fun beautifulNumbers (l : Int , r : Int ): Int {
You can’t perform that action at this time.
0 commit comments