Number of perfect squares less than N?

Solution 1:

Hint: It will be equal to the floor function of $\sqrt N$

Solution 2:

Hint: It will be equal to the number of positive integers less than or equal to $\sqrt{N}$.