Algorithm · Stripe · Easy
Given a collection of merchant dictionaries and the ID of one merchant, return every merchant that shares at least one field value with the merchant identified by that ID. Each dictionary contains id, name, email, and phone; the ID field is also considered when determining a match. Signature Examples Example 1 Input: Output: Nora matches merchant 13 by name, and merchant 14 matches by phone; the selected merchant is included because its ID matches itself. Example 2 Input:…
Checking your access…