Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Societe Generale Written Test Qs.(Data Structures) :: Queue - Discussion

87 / 224

Choose the correct option.

6, 8, 4, 3, and 1 are inserted into a data structure in that order. An item is deleted using only a basic data structure operation. If the deleted item is a 1, the data structure cannot be a ?

AQueue

BTree

CStack

DHash Table

Answer: Option (Login/Signup)

Show Explanation

option C is correct. 1 is added at the last and deleted the first.following the concept of lifo stack is the answer


Asked In :: Societe Generale Capgemini

Post Your Answer Here:     

Reply    
Rate This: +0 -0
    Report


Report Error

Please Login First Click Here

Reply     |    Rate This: +1 -0      |     Report     



Report Error