摘要:
Happy Number Write an algorithm to determine if a number n is "happy". A happy number is a number defined by the following process: Starting with any 阅读全文
posted @ 2020-07-14 22:11
十三w~w
阅读(125)
评论(0)
推荐(0)
摘要:
Bitwise AND of Numbers Range Given a range [m, n] where 0 ⇐ m ⇐ n ⇐ 2147483647, return the bitwise AND of all numbers in this range, inclusive. Exampl 阅读全文
posted @ 2020-07-14 21:34
十三w~w
阅读(107)
评论(0)
推荐(0)
摘要:
Number of Islands Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by 阅读全文
posted @ 2020-07-14 18:45
十三w~w
阅读(111)
评论(0)
推荐(0)
摘要:
Binary Tree Right Side View Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered 阅读全文
posted @ 2020-07-14 18:11
十三w~w
阅读(70)
评论(0)
推荐(0)
摘要:
House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constrain 阅读全文
posted @ 2020-07-14 16:55
十三w~w
阅读(125)
评论(0)
推荐(0)
摘要:
Number of 1 Bits Write a function that takes an unsigned integer and return the number of '1' bits it has (also known as the Hamming weight). Example 阅读全文
posted @ 2020-07-14 16:27
十三w~w
阅读(100)
评论(0)
推荐(0)
摘要:
在阅读论文Understanding Black-box Predictions via Influence Functions时,看见了一种计算逆矩阵$H^{-1}$的方法: 定义$H_j^{-1} = \sum_j (I-H)i$,有$\mathbb[H_j{-1}] = H{-1}(j\rig 阅读全文
posted @ 2020-07-14 16:25
十三w~w
阅读(197)
评论(0)
推荐(0)

浙公网安备 33010602011771号