Include edge cases in the problem - Algorithms | Zoonk
Include edge cases in the problem
Look for unusual but valid inputs before choosing a method. You’ll reason about empty inputs, ties, duplicates, impossible cases, and minimum-size cases as part of defining what the problem must handle.