eBay Interview Question

codesignal practice problems ranging from easy to hard