public class Solution {
public int bulbSwitch(int n) {
return (int)Math.sqrt(n);
}
}
LeetCode 319. Bulb Switcher
最新推荐文章于 2024-05-05 16:41:18 发布
public class Solution {
public int bulbSwitch(int n) {
return (int)Math.sqrt(n);
}
}