AMD interview question

asked a leetcode medium question