We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6bfd96 commit 2a241cdCopy full SHA for 2a241cd
scripts/algorithms/D/Delete and Earn/Delete and Earn.java
@@ -1,4 +1,4 @@
1
-// Runtime: 19 ms (Top 27.32%) | Memory: 44.9 MB (Top 85.45%)
+// Runtime: 20 ms (Top 44.61%) | Memory: 44.9 MB (Top 82.96%)
2
class Solution {
3
public int deleteAndEarn(int[] nums) {
4
Arrays.sort(nums);
0 commit comments