Mohit C·Jan 19Deriving How Euler’s GCD Trick WorksThe core step behind Euclid’s (often called Euler’s) GCD trick is the identity
Mohit C·Jan 12Constructing Permutations With Large Adjacent DifferencesI was solving a simple permutation problem where the condition was:
Mohit C·Oct 17, 2025Non-Euclidean graphsI saw this reel where they comically “solved” the Seven Bridges problem using circumnavigation, and it got me thinking… hmm, nice, how…
Mohit C·Sep 13, 2025Defining the ‘Contains Duplicate’ Problem MathematicallySo I was looking at the problem Contains Duplicate on LeetCode and thinking about ways to solve it.