Anson Zhang

做题思路

树类型的题目 整棵树的规律能否推广到子树? 子树和父节点的关系是什么?

Anson Zhang Anson Zhang Published on 2025-02-20

AP计算机A易错知识点

错误知识点大致分类为: Polymorphism Inheritance Operations Array & ArrayList Polymorphism

Anson Zhang Anson Zhang Published on 2025-02-14

A Brief Analysis of the American Dream

What is the American Dream? A House, A Family with Two Kids, A Car in the Drive Way American Dream常常被理解为: A house, a family with two kids, a car in th

Anson Zhang Anson Zhang Published on 2025-02-13

二叉树

若我们想求index为i,j的最近共同祖先: i的深度(hi)为:floor(log2(i + 1)) 。 j的深度(hj)为:floor(log2(j + 1)) 。 若hi == hj 则共同祖先的深度为:hi - (2 * abs(((i - 1) / 2) - ((j - 1) / 2)))

Administrator Administrator Published on 2025-02-09

Hello World

Hello Halo 刚刚安装好Halo,准备使用啦~ 网站概述 这是一个专注于我,Anson Zhang,的网站哦!里面我会发一些有关我的生活、化学、摄影有意思的东西,希望大家多多关注啦~ 测试部分 This is a normal text. This is a bolded text. Thi

Administrator Administrator Published on 2025-02-08