POJ1459Power Network(電網)——最大流水題 長篇閱讀。。。 題目描述: 一個電網包含一些結點(電站、消費者、調度站),這些
[LeetCode]Balanced Binary Tree Given a binary tree, determine if it is heig
[LeetCode]Merge Two Sorted Lists Merge two sorted linked lists and return i
C++標准 bind函數用法與C#簡單實現 在看C++標准程序庫書中,看到bind1st,bind2nd及bind的用法,當時就有一種熟悉感,仔細想了下,是
[LeetCode]Surrounded Regions Given a 2D board containing X and O, capture a
LeetCode28——Implement strStr() Implement strStr(). Returns the index of the
LeetCode70——Climbing Stairs You are climbing a stair case. It takes n steps t
POJ 1041 John's trip (歐拉回路) 題目地址:POJ 1041 題目要求是字典序,所以要先對邊號進行排序,使得每次總是先