摘要:
https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing fr 阅读全文
摘要:
https://leetcode.com/problems/odd-even-linked-list/ Given a singly linked list, group all odd nodes together followed by the even nodes. Please note h 阅读全文
摘要:
https://leetcode.com/problems/add-two-numbers-ii/ You are given two non-empty linked lists representing two non-negative integers. The most significan 阅读全文
摘要:
https://leetcode.com/problems/reverse-linked-list/ Reverse a singly linked list. Example: Follow up: A linked list can be reversed either iteratively 阅读全文
摘要:
https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ Given a sorted linked list, delete all nodes that have duplicate numbers, leaving 阅读全文
摘要:
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, 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805348471259136 Recommendation system predicts the preference that a user would give to 阅读全文