Problem Description
Given an integer
The first stair would require only one block, the second stair would require two blocks and so on.
Find and return the maximum height of the staircase.
The only argument given is integer A.
Return the maximum height of the staircase using these blocks.
Input 1:
A = 10
Input 2:
20
Output 1:
4
Output 2:
5
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.