ADTRAN interview question

It was the first question on Leetcode's website