You are given an integer arraynums, an integer arrayqueries, and an integerx. For eachqueries[i], you need to find the index of thequeries[i]thoccurrence ofxin thenumsarray. If there are fewer thanqueries[i]occurrences ofx, the answer should be -1 for that query. Return an integer ar...