上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 87 下一页
摘要: https://leetcode.com/problems/reverse-linked-list/ Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively 阅读全文
posted @ 2019-01-19 17:21 _Zlrrr 阅读(105) 评论(0) 推荐(0)
摘要: 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 _Zlrrr 阅读(88) 评论(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 _Zlrrr 阅读(72) 评论(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 _Zlrrr 阅读(109) 评论(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 _Zlrrr 阅读(127) 评论(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 _Zlrrr 阅读(140) 评论(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 _Zlrrr 阅读(221) 评论(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 _Zlrrr 阅读(291) 评论(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 _Zlrrr 阅读(292) 评论(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 _Zlrrr 阅读(326) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 87 下一页