Easy
LeetCode 3512: Minimum Operations to Make Array Sum Divisible by K
·1 min
LeetCode
Biweekly-Contest
Easy
LeetCode Problem Solving
LeetCode 2843: Count Symmetric Integers
·1 min
LeetCode
Daily
Easy
Digit-Dp
LeetCode Problem Solving
LeetCode 617: Merge Two Binary Trees
·2 mins
LeetCode
Daily
Easy
Tree
LeetCode Problem Solving
LeetCode 3507: Minimum Pair Removal to Sort Array I
·2 mins
LeetCode
Easy
Simulation
Array
LeetCode 3507 note: n is tiny, so simulate; the right side of a slice assignment must be a list
LeetCode 3492: Maximum Containers on a Ship
·1 min
LeetCode
Easy
Math
LeetCode 3492 note: at most n² cells and at most maxWeight // w by weight, so take the smaller, using integer division
LeetCode 1768: Merge Strings Alternately
·2 mins
LeetCode
Easy
Two-Pointers
String
LeetCode 1768 note: take characters in turn with one index, then append whatever remains of the longer string
LeetCode 1431: Kids With the Greatest Number of Candies
·1 min
LeetCode
Easy
Array
LeetCode 1431 note: compute the maximum once; a kid is True when their candies plus the extra reach >= the maximum, since a tie counts
LeetCode 3487: Maximum Unique Subarray Sum After Deletion
·2 mins
LeetCode
Easy
Greedy
Hash-Table
Array
LeetCode 3487 note: free deletion means picking distinct values; take every non-negative one, or only the maximum when all are negative
LeetCode 3136: Valid Word
·2 mins
LeetCode
Easy
String
LeetCode 3136 note: length at least 3, alphanumeric only, at least one vowel and at least one consonant; digits are not consonants
LeetCode 2000: Reverse Prefix of Word
·1 min
LeetCode
Easy
Two-Pointers
String
Stack
LeetCode 2000 note: find the first index i of ch, reverse word[:i + 1] and append the rest; return the word unchanged if ch is absent
LeetCode 3131: Find the Integer Added to Array I
·1 min
LeetCode
Easy
Array
LeetCode 3131 note: every element gets the same x, so x is the difference of the two minimums (or of the sums divided by the length)
LeetCode 3120: Count the Number of Special Characters I
·1 min
LeetCode
Easy
Hash-Table
String
LeetCode 3120 note: collect the letters seen in lowercase and in uppercase; the size of their intersection is the answer