This is my code but it\'s not giving correct output.
int main() { vector Solution::dNums(vector &A, int B) { vector