Computer Science, asked by abhishekborhade007, 22 hours ago

Р Example-1: Input 104 Value of P A 26 Participants of Group B 26 Participants of GR 700 70 Participants of Group 26 Participants of Group D Example - 2 Input: 127 Value of P 338 9031160 70 3381731160 530,731160 15 3381731160 Oro 1731160 70 Output: 31 Participants of Group A 31 Participants of Group B 31 - Participants of Group 34 - Participants of Group D OLO 50.70​

Answers

Answered by shilpa85475
0

Stack and Queue.

Explanation:

Stack is a field of gadgets that might be inserted and eliminated in line with the closing-in first-out (LIFO) principle.

Queue is a field of gadgets (a linear collection) that might be inserted and eliminated in line with the first-in first-out (FIFO) principle.

Stack and Queue each are the non-primitive facts structures.

The most important variations among stack and queue are that stack makes use of LIFO (closing in first out) technique to get admission to and upload facts factors while Queue makes use of FIFO (First in first out) technique to get admission to and upload facts factors.

Similar questions