The Gateway to Computer Science Excellence
+3 votes

in DS by
recategorized by | 181 views
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
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 .
0 votes
B should be ans

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
95,352 users