Question
What is the time complexity for performing enqueue and
dequeue operations on a queue implemented using a linked list?Solution
With proper pointers (head and tail), both enqueue (adding to tail) and dequeue (removing from head) operations in a linked list implementation of a queue can be achieved in constant time, O(1).
Three statements are given, followed by two conclusions numbered I and II. Assuming the statements to be true, even if they seem to be at variance with ...
The abnormal loss on consignment is credited to
In the context of Inflation, consider the following statements:
1. Laspeyre Index is used for the calculation of the Wholesale Price Index.
<...PETA India’s person of the year 2022?
The concept of co-operation in Industrial Relations was implemented through which of the following?Â
 At what rate of simple interest, a certain sum of money becomes its seven times in 24 years ?
All the compounds of which of the following sets belong to the same homologous series?
Where is Akbar’s Mausoleum situated ?
30 people are standing in a queue facing north. Manoj is standing at the 11th position from the front. Shahin is standing at the 7th position from the b...
Consider the following statements about vacancy in office of President:
1. The Vice President becomes President for the remainder term when th...