[LeetCode]90.Subsets II
題目 Given a collection of integers that might contain duplicates, S, return all
1019. General Palindromic Number
A number that will be the same when it is written forwards or backwards is know
POJ2488 A Knight's Journey 騎士巡游 DFS
Description Background The knight is getting bored of seeing the same black a
Codeforces Round #294 (Div. 2)
A. A and B and Chess time limit per test 1 second memory limit per tes
HDU 5024 Wang Xifeng's Little Plot (枚舉 + DFS記憶化搜索)
Wang Xifengs Little Plot Time Limit: 2000/1000 MS (Java/Others) Memory Limi
hdu 1269 迷宮城堡(強連通 tarjan )
Problem Description 為了訓練小希的方向感,Gardon建立了一座大城堡,裡面有N個房間(N<=10000)和M條通道(M<=100000)
HDOJ題目2454 Degree Sequence of Graph G(判斷是否是簡單圖)
Degree Sequence of Graph G Time Limit: 5000/1000 MS (Java/Others) Memory Limi
Codeforces 520B. Two Buttons spfa
無腦spfa B. Two Buttons time limit per test 2 seconds memory limit pe
[LeetCode]132.Palindrome Partitioning II
題目 Given a string s, partition s such that every substring of the partition is
[Leetcode]Single Number
Given an array of integers, every element appears twice except for one. Find tha