AT&T interview question

Coding round- 1 Easy/Medium Leetcode question Final round- Standard behavioral