Skip to content

Instantly share code, notes, and snippets.

@xzhang311
Created May 9, 2016 16:32
class Solution {
public:
int bulbSwitch(int n) {
return int(sqrt(n));
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment