Ever had your logic perfectly worked out for a DSA problem, only for the Java compiler to completely reject it? While working on LeetCode's Pascal's Triangle, I ran into a classic head-scratcher ...