Find Missing and Repeated Values
You are given a 0-indexed 2D integer matrix grid of size n * n with values in the range [1, n<sup>2</sup>]. Each integer appears exactly once except a which appears twice and b which is missing. The task is to find the repeating and missing numbers a...
perfinsights.hashnode.dev2 min read