Examveda

What will be the auxiliary space requirement (excluding call stack) of the program to print combinations of r elements each from array of size n?

A. O(n*r)

B. O(n/r)

C. O(n)

D. O(r)

Answer: Option D


This Question Belongs to Data Structure >> Miscellaneous On Data Structures

Join The Discussion

Related Questions on Miscellaneous on Data Structures