上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 87 下一页
摘要: https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ Given a sorted linked list, delete all nodes that have duplicate numbers, leaving 阅读全文
posted @ 2019-01-19 16:22 丧心病狂工科女 阅读(84) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/array-partition-i/ Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, 阅读全文
posted @ 2019-01-19 15:53 丧心病狂工科女 阅读(69) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/move-zeroes/ Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order 阅读全文
posted @ 2019-01-19 15:48 丧心病狂工科女 阅读(102) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/remove-nth-node-from-end-of-list/ Given a linked list, remove the n-th node from the end of list and return its head. Ex 阅读全文
posted @ 2019-01-19 15:33 丧心病狂工科女 阅读(123) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/swap-nodes-in-pairs/ Given a linked list, swap every two adjacent nodes and return its head. Example: Note: Your algorit 阅读全文
posted @ 2019-01-19 12:58 丧心病狂工科女 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805348471259136 Recommendation system predicts the preference that a user would give to 阅读全文
posted @ 2019-01-19 12:09 丧心病狂工科女 阅读(215) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805367987355648 A Binary Search Tree (BST) is recursively defined as a binary tree which 阅读全文
posted @ 2019-01-11 15:10 丧心病狂工科女 阅读(287) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805383929905152 Given a list of N student records with name, ID and grade. You are suppo 阅读全文
posted @ 2019-01-11 14:22 丧心病狂工科女 阅读(287) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805440976633856 A Binary Search Tree (BST) is recursively defined as a binary tree which 阅读全文
posted @ 2019-01-08 12:19 丧心病狂工科女 阅读(321) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/301#question F.小乐乐下象棋 #include <cstdio> #include <cstring> #include <iostream> using namespace std; const long lon 阅读全文
posted @ 2019-01-04 22:21 丧心病狂工科女 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 87 下一页