Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithm006-class02/algorithm006-class02
/ functions
Functions
5,772 in github.com/algorithm006-class02/algorithm006-class02
⨍
Functions
5,772
◇
Types & classes
2,815
Method
myAtoi
Week_08/G20200343030614/LeetCode_8_614.cpp:3
Method
myAtoi
(String str)
Week_08/G20200343030372/String_to_integer_atoi_8.java:9
Method
myAtoi
Week_08/G20200343030462/leetcode-8-462.cpp:3
Method
myAtoi
(String str)
Week_08/G20200343030378/LeetCode_8_378.java:2
Method
myAtoi
(String str)
Week_08/G20200343030020/string-to-integer-atoi.java:2
Method
myAtoi
Week_08/G20200343030506/LeetCode_8_506.cpp:10
Method
myAtoi
* 字符串转整数 * @param String $str * @return Integer */
Week_08/G20200343030032/LeetCode_8_032.php:11
Method
myAtoi2
(String str)
Week_08/G20200343030584/LeetCode_8_584.java:92
Method
myAtoi2
($str)
Week_08/G20200343030032/LeetCode_8_032.php:17
Function
myCircularDequeCreate
Week_01/G20200343030400/LeetCode_641_400.c:11
Function
myCircularDequeDeleteFront
Deletes an item from the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.c:52
Function
myCircularDequeDeleteLast
Deletes an item from the rear of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.c:60
Function
myCircularDequeFree
Week_01/G20200343030400/LeetCode_641_400.c:81
Function
myCircularDequeGetFront
Get the front item from the deque. */
Week_01/G20200343030400/LeetCode_641_400.c:68
Function
myCircularDequeGetRear
Get the last item from the deque. */
Week_01/G20200343030400/LeetCode_641_400.c:75
Function
myCircularDequeInsertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_239_400.c:38
Function
myCircularDequeInsertFront
Adds an item at the front of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.c:34
Function
myCircularDequeInsertLast
Adds an item at the rear of Deque. Return true if the operation is successful. */
Week_01/G20200343030400/LeetCode_641_400.c:43
Function
myPow
:type x: float :type n: int :rtype: float
Week_03/G20200343030550/LeetCode_50_550.py:1
Function
myPow
(x, n)
Week_03/G20200343030380/Leetcode-50-380.js:25
Method
myPow
Week_03/G20200343030428/LeetCode_50_428.cpp:12
Method
myPow
:type x: float :type n: int :rtype: float
Week_03/G20200343030488/50.pow-x-n.py:9
Method
myPow
(self, x: float, n: int)
Week_03/G20200343030640/lessons/lesson8/50_powx_n.py:15
Method
myPow
(self, x: float, n: int)
Week_03/G20200343030640/lessons/lesson8/50_powx_n.py:33
Method
myPow
(double x, int n)
Week_03/G20200343030022/LeetCode_50_022.java:16
Method
myPow
(self, x: float, n: int)
Week_03/G20200343030412/LeetCode_50_412.py:2
Method
myPow
(double x, int n)
Week_03/G20200343030632/Leetcode_50_632.java:2
Method
myPow
(self, x: float, n: int)
Week_03/G20200343030632/Leetcode_50_632.py:2
Method
myPow
(double x, int n)
Week_03/G20200343030512/LeeCode_50_512.java:32
Method
myPow
(double x, int n)
Week_03/G20200343030512/LeeCode_50_512.java:63
Method
myPow
(double x, int n)
Week_03/G20200343030390/divideandconquer/Leetcode_50_390.java:44
Method
myPow
基于分治的思想求解
Week_03/G20200343030462/leetcode-50-462.cpp:4
Method
myPow
(self, x: float, n: int)
Week_03/G20200343030638/LeetCode-50-638.py:2
Method
myPow
(double x, int n)
Week_03/G20200343030378/LeetCode_50_378.java:2
Method
myPow
(double x, int n)
Week_03/G20200343030020/powx-n.java:3
Method
myPow
:type x: float :type n: int :rtype: float
Week_03/G20200343030610/LeetCode_50_610.py:3
Function
mySqrt
(x)
Week_03/G20200343030430/LeetCode_69_430.js:5
Function
mySqrt
(x)
Week_03/G20200343030380/Leetcode-69-380.js:7
Method
mySqrt
(int x)
Week_03/G20200343030022/LeetCode_69_022.java:16
Method
mySqrt
(int x)
Week_03/G20200343030390/binarysearch/Leetcode_69_390.java:32
Method
mySqrt
Week_03/G20200343030462/leetcode-69-462.cpp:3
Method
mySqrt
(int x)
Week_03/G20200343030020/sqrtx.java:2
Method
mySqrt
:type x: int :rtype: int
Week_03/G20200343030610/LeetCode_69_610.py:3
Method
mySqrt2
牛顿法其实就是 x1的那个公式 @param x @return
Week_03/G20200343030022/LeetCode_69_022.java:36
Function
nlargest
Find the n largest elements in a dataset. Equivalent to: sorted(iterable, reverse=True)[:n]
Week_01/G20200343030608/heapq.py:70
Method
not_X
(matricx)
Week_06/G20200343030638/LeetCode_130_638.py:36
Function
nsmallest
Find the n smallest elements in a dataset. Equivalent to: sorted(iterable)[:n]
Week_01/G20200343030608/heapq.py:87
Method
numDecding
(String s)
Week_05/G20200343030376/LeetCode_91_376.java:13
Function
numDecodings
(s string)
Week_08/G20200343030026/LeetCode_91_026.go:1
Function
numDecodings
(s)
Week_08/G20200343030380/Leetcode-91-380.js:7
Function
numDecodings
* 对于"str" + 'c', str为已经处理过的字符串,c为正在处理的字符。 * 对于str所有的编码分两种情况: 编码最后一个为单字符,记为X; 编码最后一个为双字符,记为XY * 现在看正在处理的c,和前面的编码的组合有:[..., X, c], [..., XY, c], [...,
Week_05/G20200343030420/LeetCode_91_420.c:8
Function
numDecodings
Week_05/G20200343030558/LeetCode-91-558.cpp:9
Function
numDecodings
Week_05/G20200343030454/LeetCode_91_454.cpp:1
Function
numDecodings
(s)
Week_05/G20200447010024/LeetCode_91_024.js:47
Function
numDecodings
:type s: str :rtype: int
Week_05/G20200343030550/LeetCode_91_550.py:1
Function
numDecodings
(s)
Week_05/G20200343030380/Leetcode-91-380.js:7
Function
numDecodings
(self, s: str)
Week_05/G20200343030362/LeetCode_91_362.py:2
Function
numDecodings
(s)
Week_05/G20200343030030/LeetCode_91_030.js:12
Method
numDecodings
* @param String $s * @return Integer */
Week_08/G20200343030440/leetcode_91_440.php:8
Method
numDecodings
Week_08/G20200343030428/LeetCode_91_428.cpp:10
Method
numDecodings
(self, s: str)
Week_08/G20200343030640/91_decode_ways.py:12
Method
numDecodings
(String s)
Week_08/G20200343030436/91.解码方法.java:98
Method
numDecodings
(String s)
Week_08/G20200343030590/LeetCode_91_590.java:2
Method
numDecodings
(String s)
Week_08/G20200343030024/LeetCode_91_024.java:2
Method
numDecodings
(String s)
Week_08/G20200343030578/LeetCode_91_578.java:32
Method
numDecodings
Week_08/G20200343030454/Leetcode_91_454.cpp:3
Method
numDecodings
(String s)
Week_08/G20200343030376/Leet_Code_91_376.java:14
Method
numDecodings
(String s)
Week_08/G20200343030522/LeetCode_91_522.java:29
Method
numDecodings
(String s)
Week_08/G20200343030566/Leetcode_91_566.java:8
Method
numDecodings
Week_08/G20200343030614/LeetCode_91_614.cpp:3
Method
numDecodings
(String s)
Week_08/G20200343030408/dp1.java:1
Method
numDecodings
<a href="https://leetcode-cn.com/problems/decode-ways/solution/xiang-xi-tong-su-de-si-lu-fen-xi-duo-jie-fa-by-2-3/">题解</a> @param s @return
Week_08/G20200343030422/LeetCode_91_422.java:7
Method
numDecodings
(self, s: str)
Week_08/G20200343030610/LeetCode_91_610.py:2
Method
numDecodings
Week_08/G20200343030506/LeetCode_91_506.cpp:10
Method
numDecodings
(String s)
Week_05/G20200343030448/LeetCode_91_448.java:4
Method
numDecodings
(String s)
Week_05/G20200343030606/LeetCode_91_606.java:44
Method
numDecodings
Week_05/G20200343030400/LeetCode_91_400.cpp:3
Method
numDecodings
* @param String $s * @return Integer */
Week_05/G20200343030440/leetcode_91_440.php:8
Method
numDecodings
Week_05/G20200343030428/LeetCode_91_428.cpp:10
Method
numDecodings
Week_05/G20200343030622/LeetCode_91_622.cc:4
Method
numDecodings
(String s)
Week_05/G20200343030436/91.解码方法.java:92
Method
numDecodings
(String s)
Week_05/G20200343030024/LeetCode_91_024.java:2
Method
numDecodings
(self, s: str)
Week_05/G20200343030496/LeetCode_91_496.py:2
Method
numDecodings
(String s)
Week_05/G20200343030584/LeetCode_91_584.java:29
Method
numDecodings
(String s)
Week_05/G20200343030578/LeetCode_91_578.java:32
Method
numDecodings
(self, s: str)
Week_05/G20200343030632/Leetcode_91_632.py:2
Method
numDecodings
(String s)
Week_05/G20200343030580/LeetCode_91_580.java:2
Method
numDecodings
(String s)
Week_05/G20200343030404/LeetCode_91_404.java:2
Method
numDecodings
DP解法:设定d[i]为截止到i位置的子串的解码方法的总数,新增一个数字时,如果数字为0,那么必然要和前一个字符合并解码,则总数为d[i-1],若不为0,要么解释为A-Z,则总数和d[i]一样;要么当10<s[i]s[i+1]<=26构成字符K~Z;则解码总数和d[i-1]一样。 由此得到递推公式
Week_05/G20200343030636/LeetCode_91_636.cpp:54
Method
numDecodings
(String s)
Week_05/G20200343030522/LeetCode_91_522.java:29
Method
numDecodings
@param s @return
Week_05/G20200343030566/Leetcode_91_566.java:12
Method
numDecodings
(self, s: str)
Week_05/G20200343030520/LeetCode-091-0520.py:21
Method
numDecodings
Week_05/G20200343030614/LeetCode_91_614.cpp:3
Method
numDecodings
(String s)
Week_05/G20200343030512/LeeCode_91_G20200343030512.java:3
Method
numDecodings
(String s)
Week_05/G20200343030536/LeetCode_91_536.java:8
Method
numDecodings
Week_05/G20200343030544/LeetCode_91_544.cpp:3
Method
numDecodings
Week_05/G20200343030508/LeetCode_91_508.cpp:45
Method
numDecodings
(String s)
Week_05/G20200343030364/LeetCode_91_364.java:13
Method
numDecodings
(String s)
Week_05/G20200343030600/LeetCode_91_600.java:6
Method
numDecodings
(self, s: str)
Week_05/G20200343030608/动态规划.py:2
← previous
next →
4,301–4,400 of 5,772, ranked by callers