# puzzle gauntlet medium

Difference Detectives

The detectives need two clues whose difference is EXACTLY k — that unlocks the safe. 🔎

You get the clue nums (all different) and the difference k. Print case solved if some pair differs by exactly k, otherwise keep searching.

Example:

Input: nums = [1, 7, 5, 9], k = 4 Output: case solved

1 and 5 differ by exactly 4, so a matching pair exists.

💡 need a hint?

pg-difference-detectives.py🔒 given lines are locked — write your code in between
loading...