1,875 views

1 Answer

Best answer
6 votes
6 votes

It will take $O(n)$ time. Hence option B is the correct one. 

Here is a detailed explain is given. I am sure you will find this facinating. 

selected by
Answer:

Related questions

1 votes
1 votes
1 answer
2
go_editor asked Jul 14, 2016
2,183 views
The $mv$ command changesthe inodethe inode-numberthe directory entryboth the directory entry and the inode
3 votes
3 votes
1 answer
4
go_editor asked Jul 14, 2016
4,042 views
A virtual memory based memory management algorithm partially swaps out a process. This is an example ofshort term schedulinglong term schedulingmedium term schedulingmutu...