先序+后序=中序
A1120 Friend Numbers (20 point(s))
数字各位相加
A1121 Damn Single (25 point(s))
map充当散列,记录访客对应couple
A1122 Hamiltonian Cycle (25 point(s))
简单环判断
A1123 Is It a Complete AVL Tree (30 point(s))
AVL树建立+完全二叉树判断
A1124 Raffle for Weibo Followers (20 point(s))
map充当散列
A1125 Chain the Ropes (25 point(s))
贪心--取最大长度
A1126 Eulerian Path (25 point(s))
连通图判断,图的度统计
A1127 ZigZagging on a Tree (30 point(s))
中序+后序=层序
A1128 N Queens Puzzle (20 point(s))
N皇后--判断对角线上行差值==列差值