Loading

上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: Given an integer n, return true if it is a power of two. Otherwise, return false. An integer n is a power of two, if there exists an integer x such th 阅读全文
posted @ 2021-12-21 21:57 aalanwyr 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 起因:之前租了一个腾讯云服务器,每次登录的时候都会弹出一个warning,提示有很多failed login,也就是有很多主机尝试登录你的服务器。 1、查看有哪些主机尝试过登录你的服务器: [root@VM-4-12-centos ~]# lastb | head cirros ssh:notty 阅读全文
posted @ 2021-12-21 11:05 aalanwyr 阅读(888) 评论(0) 推荐(0) 编辑
摘要: Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be 阅读全文
posted @ 2021-12-19 12:42 aalanwyr 阅读(52) 评论(0) 推荐(0) 编辑
摘要: Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example 1: Input: matrix = [["1 阅读全文
posted @ 2021-12-17 16:24 aalanwyr 阅读(45) 评论(0) 推荐(0) 编辑
摘要: Given the head of a singly linked list, sort the list using insertion sort, and return the sorted list's head. The steps of the insertion sort algorit 阅读全文
posted @ 2021-12-15 16:57 aalanwyr 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Given the root node of a binary search tree and two integers low and high, return the sum of values of all nodes with a value in the inclusive range [ 阅读全文
posted @ 2021-12-14 17:20 aalanwyr 阅读(30) 评论(0) 推荐(0) 编辑
摘要: The power of the string is the maximum length of a non-empty substring that contains only one unique character. Given a string s, return the power of  阅读全文
posted @ 2021-12-13 23:59 aalanwyr 阅读(66) 评论(0) 推荐(0) 编辑
摘要: A positive integer is magical if it is divisible by either a or b. Given the three integers n, a, and b, return the nth magical number. Since the answ 阅读全文
posted @ 2021-12-11 23:29 aalanwyr 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers arr, you are initially positioned at start index of the array. When you are at index i, you can jump to i + ar 阅读全文
posted @ 2021-12-09 18:05 aalanwyr 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1、什么是Embarrassingly Parallel(易并行计算问题) 易并行计算问题:A computation that can be divided into a number of completely independent tasks。在编写并行程序过程中,首先需要将一个问题分解成若 阅读全文
posted @ 2021-12-09 16:26 aalanwyr 阅读(1924) 评论(1) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页