Question d’entretien chez Shopify

It was typical algorithm question. To perform search in an array.