Kris王仙客
Kris王仙客
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Kris王仙客的博客
全部文章
(共4篇)
题解 | #【模板】链表# in Rust
use std::io::{self, *}; #[derive(PartialEq, Eq, Debug, Clone)] pub struct ListNode { pub val: i32, pub next: Option<Box<ListNode>>...
2023-12-07
0
231
题解 | #【模板】栈#
use std::io::{self, *}; use std::result::Result; struct Stack { s: [i32; 100_010], tt: usize, } impl Stack { fn new() -> Stack { ...
2023-12-06
0
250
题解 | #乘积为正数的最长连续子数组#
#include <any> #include <iostream> #include <utility> using namespace std; int main() { int max_l = 0, min_l = 0, max_dp = 1, m...
2023-11-14
0
245
题解 | #左叶子之和#
package main import . "nc_tools" /* * type TreeNode struct { * Val int * Left *TreeNode * Right *TreeNode * } */ /** * 代码中的类名、...
2023-10-28
1
378