Skip to content

Commit

Permalink
Update and rename Prog3005.java to 3005. Count elements with maximum …
Browse files Browse the repository at this point in the history
…frequency
  • Loading branch information
dishathakurata authored Mar 22, 2024
1 parent c023ae4 commit d9d75bf
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
package leetcode;

//3005. Count elements with maximum frequency

import java.util.HashMap;
Expand Down Expand Up @@ -31,4 +29,4 @@ public int maxFrequencyElements(int[] nums) {

return count * max;
}
}
}

0 comments on commit d9d75bf

Please sign in to comment.