Given an array of integers nums and an integer target, return all pairs of numbers where one of the four arithmetic operations (+, -, *, /) produces exactly the target value.
For each valid pair (a, b) where a op b = target, return the expression as a string in the format "a{op}b" (e.g., "2+4", "3*2").
Note:
- Order matters:
"2+4" and "4+2" are different pairs if both produce the target.
- For division, only include pairs where the division is exact (no remainder) and divisor is not zero.
- Each pair uses elements at different indices. If the same value appears multiple times, each occurrence is treated as distinct.
- Return each unique expression string only once, even if multiple index pairs produce the same expression.
Return the result in any order.
2 + 4 = 6, 4 + 2 = 6, 2 * 3 = 6, 3 * 2 = 6
1 * 2 = 2, 2 * 1 = 2, 2 / 1 = 2, 4 / 2 = 2, 3 - 1 = 2, 4 - 2 = 2