Skip to main content

Math

LeetCode 1497: Check If Array Pairs Are Divisible by k (Remainder Pairing, Modulo)
·2 mins
LeetCode Daily Medium Array Hash Map Modulo Math Counting Complement
Remainder pairing with a hash map; handle 0 and k/2 remainders carefully.
LeetCode 1071: Greatest Common Divisor of Strings
·2 mins
LeetCode Daily Easy String Math Gcd
LeetCode Problem Solving