Binary Tree Right Side View
LC 199
類別:BFS / Level Order Traversal
給一棵二元樹,從右側看過去...
Lowest Common Ancestor of a Binary Search Tree
thoughts
BST 性質:左子樹 < root &l...
543 Diameter of Binary Tree
thoughts
樹的直徑:任意兩個節點之間的最長路徑(經過 root 或不經 root)。
DFS...
Kth Largest Element in an Array
LC 215 題意
(Heap / Quickselect)
給定一個整數陣列 nums 和一...
Palindrome Linked List - leetode 234
thoughts
判斷一個單向鏈結串列是否為迴文(palindrome)。
E...
前言:
在過去幾天的構想裡,我們從卡牌系統的雛型,到模組化流程,再到心理學分類的深化,一步步為「AI 哲學心理平台」建立了理論基礎。然而,所有設計若停留在理念層...