網頁

2024年8月10日 星期六

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


EULER特徵數定理與UnionFind解Leetcode959 Regions Cut By Slashes
EULER特徵數定理:平面連通圖有V-E+F
--------------
 Theorem of Euler-Characteristic: for a connected planar graph,
V-E+F=2 ,
outside of the graph there is  a face

沒有留言:

張貼留言

HTML 編輯器