


Input: ‘n’ = 7
Output: 2
Explanation:
The square root of the number 7 lies between 2 and 3, so the floor value is 2.
The first line of input contains the Integer ‘n’.
The output contains an integer denoting the square root of ‘n’.
You do not need to print anything. It has already been taken care of. Just implement the given function.
The idea is to iterate through all numbers and check.
Algorithm :
The idea is to find the largest integer number whose square is less than or equal to the given number ‘N’.
Algorithm :
Element Count in Ranges
First Digit One
Minimize Maximum Adjacent Distance
Sorted Doubly Linked List to Balanced BST
Minimized Maximum of Products Distributed to Any Store