File tree Expand file tree Collapse file tree 7 files changed +10
-7
lines changed
src/main/kotlin/g3401_3500
s3423_maximum_difference_between_adjacent_elements_in_a_circular_array
s3425_longest_special_path
s3426_manhattan_distances_of_all_arrangements_of_pieces
s3432_count_partitions_with_even_sum_difference
s3433_count_mentions_per_user
s3434_maximum_frequency_after_subarray_operation
s3435_frequencies_of_shortest_supersequences Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11package g3401_3500.s3423_maximum_difference_between_adjacent_elements_in_a_circular_array
22
3- // #Easy #2025_01_19_Time_2_(100.00%)_Space_38.80_(100.00%)
3+ // #Easy #Array # 2025_01_19_Time_2_(100.00%)_Space_38.80_(100.00%)
44
55import kotlin.math.abs
66import kotlin.math.max
Original file line number Diff line number Diff line change 11package g3401_3500.s3425_longest_special_path
22
3- // #Hard #2025_01_19_Time_106_(100.00%)_Space_187.68_(100.00%)
3+ // #Hard #Array #Hash_Table #Depth_First_Search #Tree #Sliding_Window
4+ // #2025_01_19_Time_106_(100.00%)_Space_187.68_(100.00%)
45
56class Solution {
67 private lateinit var adj: Array <ArrayList <IntArray >>
Original file line number Diff line number Diff line change 11package g3401_3500.s3426_manhattan_distances_of_all_arrangements_of_pieces
22
3- // #Hard #2025_01_19_Time_21_(100.00%)_Space_34.61_(100.00%)
3+ // #Hard #Math #Combinatorics # 2025_01_19_Time_21_(100.00%)_Space_34.61_(100.00%)
44
55class Solution {
66 private fun comb (a : Long , b : Long , mod : Long ): Long {
Original file line number Diff line number Diff line change 11package g3401_3500.s3432_count_partitions_with_even_sum_difference
22
3- // #Easy #2025_01_26_Time_2_(100.00%)_Space_35.68_(100.00%)
3+ // #Easy #Array #Math #Prefix_Sum # 2025_01_26_Time_2_(100.00%)_Space_35.68_(100.00%)
44
55import kotlin.math.abs
66
Original file line number Diff line number Diff line change 11package g3401_3500.s3433_count_mentions_per_user
22
3- // #Medium #2025_01_26_Time_90_(100.00%)_Space_49.08_(100.00%)
3+ // #Medium #Array #Math #Sorting #Simulation # 2025_01_26_Time_90_(100.00%)_Space_49.08_(100.00%)
44
55class Solution {
66 fun countMentions (numberOfUsers : Int , events : List <List <String >>): IntArray {
Original file line number Diff line number Diff line change 11package g3401_3500.s3434_maximum_frequency_after_subarray_operation
22
3- // #Medium #2025_01_26_Time_51_(100.00%)_Space_56.51_(100.00%)
3+ // #Medium #Array #Hash_Table #Dynamic_Programming #Greedy #Prefix_Sum
4+ // #2025_01_26_Time_51_(100.00%)_Space_56.51_(100.00%)
45
56import kotlin.math.max
67
Original file line number Diff line number Diff line change 11package g3401_3500.s3435_frequencies_of_shortest_supersequences
22
3- // #Hard #2025_01_26_Time_385_(100.00%)_Space_54.41_(100.00%)
3+ // #Hard #Array #String #Bit_Manipulation #Graph #Enumeration #Topological_Sort
4+ // #2025_01_26_Time_385_(100.00%)_Space_54.41_(100.00%)
45
56class Solution {
67 private fun buildWordMap (words : List <String >): MutableMap <String ?, Boolean ?> {
You can’t perform that action at this time.
0 commit comments