Find Unique Binary String

Given an array nums of n distinct binary strings, each of length n, return any binary string of length n that is not in nums. Any string outside nums satisfies the statement. The diagonal construction below is one valid way to build such a string, but all valid missing strings must be accepted by the semantic checker and must not be forced to the diagonal output.

Examples
Input: ["1"]
Output: "0"
Hints

Find Unique Binary String

Given an array `nums` of `n` distinct binary strings, each of length `n`, return any binary string of length `n` that is not in `nums`. Any string outside `nums` satisfies the statement. The diagonal construction below is one valid way to build such a string, but all valid missing strings must be accepted by the semantic checker and must not be forced to the diagonal output.