[5 pts] Suppose we were to execute f(n)
for some number n using the following method.
In terms of n, how much time does this method take? Use Big-O notation to express your answer, and provide the tightest bound that you can.public class Question1 { public static void f(int n) { int i = 1; while(i * i <= n) { i += 1; } IO.print(i - 1); } }