Confirming your payment

Skip to content

The World of Algorithms · Question 6 of 15

Suppose List 1 and List 2 are two lists of numbers in increasing order.

Question 64 marksMedium

Suppose List 1 and List 2 are two lists of numbers in increasing order.

(i) Write an algorithm to find elements in List 1 that are not present in List 2.

(ii) Write an algorithm to find elements in List 2 that are not present in List 1.