progppy'site

3-7 随笔

daily leetcode - Trie TODO: compared with B+ Tree 字符串可以单射到链表中,比如 "tree" 对应dummy -> t -> r -> e -> e "treat" 对应 dummy -> t -> r -> e -> a -> t 如果你有很多单词

Administrator Administrator Published on 2026-03-07

3-5随笔

用“年龄渐长表达欲减弱”“世事洞明便要少开尊口”“我已经写出过畅销书”等为借口,减少公开场合的发言,实则是一种故步自封的僵化心态。 决定有什么感悟都发到博客上 关于如何读书 读书时要思考的内容其实就是一个问题 这句话他真正想要表达的是什么?他想要强调的是什么? 因为语境,作者和读者之间的文化还有知识

Administrator Administrator Published on 2026-03-05

Binary Tree Maximum Sum

124. 二叉树中的最大路径和 - 力扣(LeetCode) K1 defination of Path if you write a sequence composed of nodes in a binary tree like 1 -> 2 -> 3, it should: nodes bef

Administrator Administrator Published on 2026-02-10

Lowest Common Ancestor of a Binary Tree

236. 二叉树的最近公共祖先 - 力扣(LeetCode) # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # se

Administrator Administrator Published on 2026-02-09

leetcode question with little to record

56. 合并区间 - 力扣(LeetCode) Python sortAPI Sorting Techniques — Python 3.14.2 documentation lambda 6. Expressions — Python 3.14.2 documentation 0x3F also

Administrator Administrator Published on 2026-01-28

leetcode257. Binary Tree Path

257. 二叉树的所有路径 - 力扣(LeetCode) Challenge: Find the problems in the answer below: # Definition for a binary tree node. # class TreeNode: # def __init

Administrator Administrator Published on 2026-01-27

Recursive Function Correctness

Contract: It is the function the son function realized, the father function rely on, and realized for the grandfather.It is so-called faith leap. But

Administrator Administrator Published on 2026-01-26

Details in leetcode

or in python have short-circuit, including many or use together. if interpreter meet a true, it will stop calculating latter conditions reversed() fun

Administrator Administrator Published on 2026-01-25

BFS in Tree

Follow tutorial 代码随想录 binary tree The most subtle algorithm here is we use size and for loop inside single while loop, we achieved traverse one layer

Administrator Administrator Published on 2026-01-24

进程

程序(Program) 是静态的指令 进程是程序的一次执行 进程被创建时,操作系统会在内核空间中创建一个PCB(Process Control Block)内容包括: 1. 分配一个唯一的PID,记录所属用户的UID 2. 分配了多少内存,正在使用什么IO设备,正在使用哪些文件 3. 进程运行情况:

Administrator Administrator Published on 2026-01-15
Previous Next