extern
extern
全部文章
分类
归档
标签
去牛客网
登录
/
注册
extern的博客
全部文章
(共217篇)
题解 | #点击消除# | Golang
package main import ( "fmt" ) type Solution struct {} func (s *Solution) clearStr(input string) string { ans := []byte{} for _,c...
2024-02-20
0
158
题解 | #点击消除# | C++
#include <iostream> #include <string> using namespace std; class Solution { public: std::string clearStr(const std::string& input)...
2024-02-20
0
217
题解 | #求二叉树的层序遍历# | Rust
/** * #[derive(PartialEq, Eq, Debug, Clone)] * pub struct TreeNode { * pub val: i32, * pub left: Option<Box<TreeNode>>, * ...
2024-02-19
0
208
题解 | #求二叉树的层序遍历# | Golang
package main import . "nc_tools" /* * type TreeNode struct { * Val int * Left *TreeNode * Right *TreeNode * } */ /** * 代码中的类名、...
2024-02-19
0
238
题解 | #求二叉树的层序遍历# | C++
/** * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {...
2024-02-19
0
222
题解 | #从上往下打印二叉树# | Golang
package main /* * type TreeNode struct { * Val int * Left *TreeNode * Right *TreeNode * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可...
2024-02-18
0
255
题解 | #从上往下打印二叉树# | C++
/* struct TreeNode { int val; struct TreeNode *left; struct TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) { } };*/ class ...
2024-02-18
0
184
题解 | #杨辉三角(二)# | Rust
struct Solution{ } impl Solution { fn new() -> Self { Solution{} } /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * ...
2024-02-18
0
221
题解 | #杨辉三角(二)# | Golang
package main /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param num int整型 * @return int整型一维数组 */ func getRow( num int ) []int { if num...
2024-02-18
0
258
题解 | #杨辉三角(二)# | C++
#include <vector> class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param num int整型 * @r...
2024-02-18
0
181
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页