Skip to content

Commit 852d9d7

Browse files
authored
Merge pull request Sunchit#1049 from MaheshReddy-05/master
27/04/2023 DLC in Java
2 parents be366e5 + 607e94d commit 852d9d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Author: Mahesh Reddy B N
2+
3+
// Problem Link: https://leetcode.com/problems/bulb-switcher/
4+
5+
class Solution {
6+
public int bulbSwitch(int n) {
7+
return (int)Math.sqrt(n);
8+
}
9+
}

0 commit comments

Comments
 (0)