ZhangZhihui's Blog  

2025年4月5日

摘要: Given an array of points where points[i] = [xi, yi] represents a point on the X-Y plane, return the maximum number of points that lie on the same stra 阅读全文
posted @ 2025-04-05 23:03 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)
 
摘要: Implement pow(x, n), which calculates x raised to the power n (i.e., xn). Example 1: Input: x = 2.00000, n = 10 Output: 1024.00000 Example 2: Input: x 阅读全文
posted @ 2025-04-05 19:03 ZhangZhihuiAAA 阅读(6) 评论(0) 推荐(0)
 
摘要: Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well. 阅读全文
posted @ 2025-04-05 18:13 ZhangZhihuiAAA 阅读(17) 评论(0) 推荐(0)