Advertisement
319. Bulb Switcher
MediumView on LeetCode
319.cs
C#
public class Solution
{
public int BulbSwitch(int n)
{
return (int)Math.Sqrt(n);
}
}Advertisement
Was this solution helpful?
public class Solution
{
public int BulbSwitch(int n)
{
return (int)Math.Sqrt(n);
}
}