Squarespace interview question

Generic technicals - 2 parts DSA