give integer array num integer k return number pair j j numsi numsj kThe value x define asx x 0x x 0 example 1input num 1221 k 1output 4explanation the pair absolute difference 1 1221 1221 1221 1221example 2input num 13 k 3output 0explanation there pair absolute difference 3example 3input num 32154 k 2output 3explanation the pair absolute difference 2 32154 32154 32154 Constraints1 numslength 2001 numsi 1001 k 99