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 af3063f commit d8b916d
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_1_ms_(100.00%)_Space_44.9_MB_(31.20%)
// #Easy #Array #Math #Heap_Priority_Queue #Simulation
// #2024_08_28_Time_1_ms_(100.00%)_Space_44.9_MB_(31.20%)

public class Solution {
public int[] getFinalState(int[] nums, int k, int multiplier) {
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_5_ms_(100.00%)_Space_44.7_MB_(91.23%)
// #Medium #Array #Hash_Table #Sorting #Counting #Enumeration
// #2024_08_28_Time_5_ms_(100.00%)_Space_44.7_MB_(91.23%)

public class Solution {
public int countPairs(int[] nums) {
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_26_ms_(100.00%)_Space_47_MB_(51.94%)
// #Hard #Array #Heap_Priority_Queue #Simulation
// #2024_08_28_Time_26_ms_(100.00%)_Space_47_MB_(51.94%)

import java.util.Arrays;
import java.util.PriorityQueue;
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_353_ms_(99.78%)_Space_45.8_MB_(56.64%)
// #Hard #Array #Hash_Table #Sorting #Counting #Enumeration
// #2024_08_28_Time_353_ms_(99.78%)_Space_45.8_MB_(56.64%)

import java.util.Arrays;
import java.util.HashMap;
Expand Down

0 comments on commit d8b916d

Please sign in to comment.