The code for printing combinations is in-place.

Nam Phong

New member
The code for printing combinations is in-place.
A. true
B. false
 
Answer: B
Explanation: Code to print combinations will require an auxiliary space of O(r) other than call stack memory. So it is not an in-place algorithm.
 

Tìm kiếm

Back
Top