[LeetCode]Edit Distance
[LeetCode]Edit Distance 題目 Given two words word1 and word2, find the minimum
hdu 1372 Knight Moves BFS解法
hdu 1372 Knight Moves BFS解法 Knight Moves Time Limit: 2000/1000 MS (Java/Othe
[LeetCode]Maximum Depth of Binary Tree
[LeetCode]Maximum Depth of Binary Tree Given a binary tree, find its maximu
HDU 4085 Peach Blossom Spring 記憶化搜索枚舉子集 斯坦納樹
HDU 4085 Peach Blossom Spring 記憶化搜索枚舉子集 斯坦納樹 題目鏈接:點擊打開鏈接 題意: 第一行輸入n個點 m條可修建的無向
[LeetCode]Binary Tree Inorder Traversal
[LeetCode]Binary Tree Inorder Traversal Given a binary tree, return the ino
UVA 572- Oil Deposits(簡單dfs)
UVA 572- Oil Deposits(簡單dfs) Oil Deposits Time Limit:3000MS Memory Limi
hdu1024---Max Sum Plus Plus
hdu1024---Max Sum Plus Plus Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/
HDU 3616 Best Reward (Manacher算法 前綴回文+後綴回文)
HDU 3616 Best Reward (Manacher算法 前綴回文+後綴回文) Best Reward Time Limit: 20
C++ virtual table pointer - vptr
C++ virtual table pointer - vptr To implement virtual functions, C++ u
UVA 657-The die is cast(dfs*2)
UVA 657-The die is cast(dfs*2) The die is cast Time Limit:3000MS Memory
LeetCode Single Number II
LeetCode Single Number II Given an array of integers, every element appears th
HDU 3294 Girls' research (Manacher算法 + 記錄區間)
HDU 3294 Girls' research (Manacher算法 + 記錄區間) Girls research Time Lim