Start learning 50% faster. Sign in now
A stack is the most suitable data structure for implementing recursion. This is because recursive calls need to store the state of the current function execution before jumping into the next function call. Stacks follow the Last In, First Out (LIFO) principle, which perfectly suits the recursive function call structure. Why Other Options are Wrong: b) A queue follows First In, First Out (FIFO), which doesn’t support the nature of recursion. c) Linked lists can be used for dynamic memory but are not suitable for managing function calls in recursion. d) Arrays have a fixed size and do not inherently support LIFO behavior. e) Hash tables are for storing key-value pairs and have no role in recursion.
Select the word-pair that best represents a similar relationship to the one expressed in the given pair of words.
(The words must be considere...
Select the combination of letter that when sequentially placed in the blanks of the given series will complete the series.
R T _ Y _ _ T V Y Z _ ...
Select the option that is related to the fifth term in the same way as the second term is related to the first term and the fourth term is related to th...
Select the option that is related to the third number in the same way as the second number is related to first number and the sixth number is related t...
GTSN : 7201914 :: UNEP : ?
Select the option that is related to the third term in the same way as the second term is related to the first term.
ZYGOTE : ZYTOGE :: SEQUENCE : ?
Read the given statement and conclusions carefully. Decide which of the given conclusions is/are definitely true from the statement.
Statement: Q...
Select the option that is related to the third letter-cluster in the same way as the second letter-cluster is related to the first letter-cluster.
...In the following question, four letter pairs are given. The letters on left side of (–) is related to the letters on the right side of (–) with some...
Select the option that is related to the third letter-cluster in the same way as second letter-cluster is related to the first letter cluster.
PL...