- 1 Describe In Words An Algorithm That Checks If Two Given Lists Are Disjoint Meaning That They Have No Element In C 1 (19.15 KiB) Viewed 15 times
(1) Describe (in words) an algorithm that checks if two given lists are disjoint, meaning that they have no element in c
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
(1) Describe (in words) an algorithm that checks if two given lists are disjoint, meaning that they have no element in c
(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).