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 11package g3401_3500.s3483_unique_3_digit_even_numbers
22
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%)
45
56class Solution {
67 fun totalNumbers(digits: IntArray): Int {
Original file line number Diff line number Diff line change 11package g3401_3500.s3484_design_spreadsheet
22
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%)
45
56@Suppress("unused")
67class Spreadsheet(rows: Int) {
Original file line number Diff line number Diff line change 11package g3401_3500.s3485_longest_common_prefix_of_k_strings_after_removal
22
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%)
44
55import kotlin.math.max
66
Original file line number Diff line number Diff line change 11package g3401_3500.s3486_longest_special_path_ii
22
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%)
45
56@Suppress("kotlin:S107")
67class Solution {
Original file line number Diff line number Diff line change 11package g3401_3500.s3487_maximum_unique_subarray_sum_after_deletion
22
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%)
44
55class Solution {
66 fun maxSum(nums: IntArray): Int {
Original file line number Diff line number Diff line change 11package g3401_3500.s3488_closest_equal_element_queries
22
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%)
45
56import kotlin.math.abs
67import kotlin.math.min
Original file line number Diff line number Diff line change 11package g3401_3500.s3489_zero_array_transformation_iv
22
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%)
44
55import kotlin.math.max
66import kotlin.math.min
Original file line number Diff line number Diff line change 11package g3401_3500.s3490_count_beautiful_numbers
22
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%)
44
55class Solution {
66 fun beautifulNumbers(l: Int, r: Int): Int {
You can’t perform that action at this time.
0 commit comments