網頁

2024年8月10日 星期六

C++ EULER特徵數定理與UnionFind解Leetcode959 Regions Cut By Slashes


EULER特徵數定理與UnionFind解Leetcode959 Regions Cut By Slashes
EULER特徵數定理:平面連通圖有V-E+F
--------------

2024年8月9日 星期五

Python C++解魔方陣Leetcode 840 Magic Squares In Grid



Python C++解魔方陣Leetcode 840  Magic Squares In Grid.
影片一開始就是展示如何解一個3x3的魔方陣,5總是在中心
In the beginning of film is to show how to solve a 3x3 magic square, 5 is always in the center.