problemscpp
A collection of my answers to algorithm problems in c++.
|
#include <leetcode.h>
静态 Public 成员函数 | |
static bool | dfs (unsigned long long n1, unsigned long long n2, const char *, unsigned short length, unsigned short current) |
static bool | equal (string, const char *, unsigned short start, unsigned short length) |
判断一个字符串与另一个字符串的子串是否相等 | |
static bool | isAdditiveNumber (string num) |
static unsigned long long | str2ui (const char *, unsigned short start, unsigned short length) |
将字符串的一个子串转换为整数 | |
在文件 leetcode.h 第 320 行定义.
|
static |
n1 | 第一个数字 |
n2 | 第二个数字 |
length | 总长度 |
current | 现在的位置 |
在文件 leetcode.cpp 第 769 行定义.
引用了 dfs(), equal() , 以及 str2ui().
被这些函数引用 dfs(), isAdditiveNumber(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST() , 以及 leetcode::additive_number::TEST().
|
static |
判断一个字符串与另一个字符串的子串是否相等
start | 另一个字符串的子串起始位置 |
length | 另一个字符串的总长度 |
在文件 leetcode.cpp 第 796 行定义.
被这些函数引用 dfs(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST() , 以及 leetcode::additive_number::TEST().
|
static |
在文件 leetcode.cpp 第 742 行定义.
被这些函数引用 leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST() , 以及 leetcode::additive_number::TEST().
|
static |
将字符串的一个子串转换为整数
start | 起始位置 |
length | 转换长度 |
在文件 leetcode.cpp 第 787 行定义.
被这些函数引用 dfs(), isAdditiveNumber(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST(), leetcode::additive_number::TEST() , 以及 leetcode::additive_number::TEST().