LeetCode 914: X of a Kind in a Deck of Cards
A clear explanation of checking whether card counts share a common group size using the greatest common divisor.
3 notes
A clear explanation of checking whether card counts share a common group size using the greatest common divisor.
A clear parsing and math solution for evaluating fraction addition and subtraction expressions.
A clear explanation of solving the Water and Jug Problem using Bézout's identity and greatest common divisor.