You are given an integer n representing the number of coins.
Arrange the coins into a staircase shape where the
Return the number of complete rows that can be formed using all the coins.
Note: A row is complete only if it contains exactly the required number of coins.
Constraints:
n
You are given an integer n representing the number of coins.
Arrange the coins into a staircase shape where the
Return the number of complete rows that can be formed using all the coins.
Note: A row is complete only if it contains exactly the required number of coins.
Constraints:
n