The Gateway to Computer Science Excellence
+3 votes
181 views

in DS by
recategorized by | 181 views
0
using array and linked list we can perform all the stack operation in constant time as in the stack all the operation are performed at one end only.

i'm not sure of statement 4 and there is some confusion in statement 3.can u clarify the statement 3.

3 Answers

0 votes
i think option a should be true beacause both the cases we can not perform every operation in constant time
by
0 votes
ans is option C.

Cause using array we can perform all the operation in S1.for delete stack we need to dynamically allocate array.

Option b is false.

Option c,d are true .
by
0 votes
B should be ans
by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,510 answers
201,924 comments
95,352 users