Items in common

A code exercise of about 15 minutes: read the statement, solve «Items in common» in the browser and get a review like in a real interview.

Code · 15 min
Loading…

Statement

Write commonItems(a, b): the numbers that appear in both lists, without repeats and sorted from smallest to largest.