CodePudding user response:
Add a variable, such as int k, int xCodePudding user response:
Int findKthMin (vector& Nums1 vector & Nums2, int k)
{
VectorTemp=nums1;
Temp. Pop_front ();
FindKthMin (temp, nums2, k);
}
No, don't know, but such spending is so big,,,
Can need not recursive places don't have,,, is inherently slow,,,
CodePudding user response:
Consider using an iterator do vector< parameters; int> : : iterator