Question: What would be the space complexity of an algorithm that uses a 1 ) A fixed - size array and 2 ) A dynamic array
What would be the space complexity of an algorithm that uses a
A fixedsize array and
A dynamic array that grows with the input size n
Justify your answer one line is enough
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
