LinkedIn interview question

Technical was a design leetcode question