Time Complexity of a Triangular Sum Loop with Halving Recursion

Company: UKG

Difficulty: medium