Given two integers `L` and `R`, find all twin prime pairs `(p1, p2)` such that `L <= p1 < p2 <= R` and `p2 - p1 = 2`, where both `p1` and `p2` are prime numbers.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.