Technical Blog

Recent posts

Longest Subarray With Sum K in Java

3 minute read

DSA Java

Longest Subarray With Sum K is a good example of turning a small-looking problem into a precise invariant. The Java implementation below captures the core id...