Skip to content

Commit

Permalink
Improved tasks 3264, 3265, 3266, 3267
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev authored Aug 29, 2024
1 parent 594a15c commit 9636a9a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package g3201_3300.s3264_final_array_state_after_k_multiplication_operations_i

// #Easy #2024_08_28_Time_226_ms_(68.00%)_Space_38.5_MB_(66.00%)
// #Easy #Array #Math #Heap_Priority_Queue #Simulation
// #2024_08_29_Time_237_ms_(55.55%)_Space_39.5_MB_(51.85%)

@Suppress("NAME_SHADOWING")
class Solution {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package g3201_3300.s3265_count_almost_equal_pairs_i

// #Medium #2024_08_28_Time_188_ms_(100.00%)_Space_37.5_MB_(100.00%)
// #Medium #Array #Hash_Table #Sorting #Counting #Enumeration
// #2024_08_29_Time_184_ms_(100.00%)_Space_41.7_MB_(53.33%)

@Suppress("NAME_SHADOWING")
class Solution {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package g3201_3300.s3266_final_array_state_after_k_multiplication_operations_ii

// #Hard #2024_08_28_Time_546_ms_(100.00%)_Space_60.8_MB_(66.67%)
// #Hard #Array #Heap_Priority_Queue #Simulation
// #2024_08_29_Time_500_ms_(100.00%)_Space_45_MB_(100.00%)

import java.util.PriorityQueue
import kotlin.math.max
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package g3201_3300.s3267_count_almost_equal_pairs_ii

// #Hard #2024_08_28_Time_791_ms_(100.00%)_Space_50.7_MB_(57.14%)
// #Hard #Array #Hash_Table #Sorting #Counting #Enumeration
// #2024_08_29_Time_814_ms_(100.00%)_Space_51.6_MB_(60.00%)

class Solution {
fun countPairs(nums: IntArray): Int {
Expand Down

0 comments on commit 9636a9a

Please sign in to comment.