AT&T Interview Question

Leetcode question and design system question