## Question 1 What is the output if the following lists are given as input? $list1$ = $1$ → $2$ → $3$ → $null$ $list2$ = $-1$ → $-2$ → $3$ → $null$ ### Options 1. $3$ → $null$ Incorrect ---------------------------- 2. $-1$ → $-2$ → $3$ → $null$ Incorrect ---------------------------- 3. $-1$ → $-2$ → $1$ → $2$ → $3$ → $null$ Incorrect ---------------------------- 4. $-1$ → $-2$ → $1$ → $2$ → $3$ → $3$ → $null$ Correct When we merge the given lists, the correct output is $-1$ → $-2$ → $1$ → $2$ → $3$ → $3$ → $null$. It includes all the elements of the `list1` and `list2` in a non-decreasing order. ---------------------------- --------------------------------------------- ## Question 2 What is the output if the following lists are given as input? $list1$ = $null$ $list2$ = $null$ ### Options 1. The empty lists can't be merged. Incorrect ---------------------------- 2. $null$ Correct When we merge the two empty lists, the output is an empty list. ---------------------------- --------------------------------------------- ## Question 3 What is the output if the following lists are given as input? $list1$ = $0$ → $null$ $list2$ = $0$ → $null$ ### Options 1. $null$ Incorrect ---------------------------- 2. $0$ → $null$ Incorrect ---------------------------- 3. $0$ → $0$ → $null$ Correct When we merge the given lists, the correct output is $0$ → $0$ → $null$. It includes all the elements of the `list1` and `list2` in a non-decreasing order. ---------------------------- 4. $2$ → $null$ Incorrect ---------------------------- ---------------------------------------------