Find matching numbers

What exactly matching numbers are?

numbers

Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.

Those numbers which will add up to target would be called matching numbers.

First number is 2 found at position 0 and second number is 4 found at position 1.
Combination not found!