摘要: #include using namespace std; struct Node { int key; Node *right, *left, *parent; }; Node *root, *NIL; void insert(int k) { Node *y = NIL; Node *x = root; Node *z; z = (N... 阅读全文
posted @ 2018-10-25 21:08 _Zlrrr 阅读(257) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805416519647232 If you are a fan of Harry Potter, you would know the world of magic has 阅读全文
posted @ 2018-10-25 21:07 _Zlrrr 阅读(195) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805425780670464 A linked list consists of a series of structures, which are not necessar 阅读全文
posted @ 2018-10-25 21:05 _Zlrrr 阅读(142) 评论(0) 推荐(0)