README.mdMay 8, 2016 ยท View on GitHubI just use Math.sqrt for convenience, it's better to use binary search obviously.