
Posting after a long time
LeetCode Weekly Contest recap
Q1: Easy.
Q2: That 951 test case was the real culprit. The modular inverse trick was the key.
💀 Q3: Absolutely cooked me. An interesting brute force + DP problem.
Q4: Couldn't even give it a proper attempt.
#LeetCode

English















