Question
Consider a `Stack` data structure implemented with
`push` and `pop` operations. What is the final state of the stack after the following sequence of operations?  ```   Stack s;   s.push(10);   s.push(20);   s.pop();   s.push(30);   s.push(40);   s.pop();   ```Solution
 Dry Run (Stack: Last In, First Out):       `s.push(10)`: Stack: `[10]`       `s.push(20)`: Stack: `[10, 20]`       `s.pop()`: Removes 20. Stack: `[10]`       `s.push(30)`: Stack: `[10, 30]`       `s.push(40)`: Stack: `[10, 30, 40]`       `s.pop()`: Removes 40. Stack: `[10, 30]`
Select the most appropriate option for each blank.
The coronavirus spreads mostly through droplets that people send ______ when they talk, sneeze...
A fundamental challenge, of course, is how to __________ the social democratic norms within the institutes, representative of Indian diversity and plur...
The booking was made and the taxi was _______ a few minutes.
Directions (104-105): Choose the word/group of words which is most similar in meaning to the word/group of words printed in bold as used in the passage...
If power and position were all that ________, SP supremo might have been able to more evenly distribute the ________ of office and quickly end the crisi...
Fill up the blank with the word that makes the sentence grammatically and contextually correct.
Either my father or my brothers ___________ co...
She starts crying at the drop of a _________.
Choose the word that best fits the blank:
The ancient palace was beautifully _______ with lights during the festival.
- In each question a part is omitted which is then replaced by a blank. Choose the word from the given options that will fit into the blank most appropriatel...
Fill up the blank with the word that makes the sentence grammatically and contextually correct.Â
I___________into an old friend at a Delhi sup...