(1) Describe (in words) an algorithm that checks if two given lists are disjoint, meaning that they have no element in c
Posted: Mon Apr 11, 2022 5:57 am
(1) Describe (in words) an algorithm that checks if two given lists are disjoint, meaning that they have no element in common. (2) Then write the pseudo-code for your algorithm by calling it dis- joint(a1,..., an, bi, ..., bm : elements) (note that the lists can have different size).