摘要:
https://leetcode.com/problems/assign-cookies/ Assume you are an awesome parent and want to give your children some cookies. But, you should give each 阅读全文
摘要:
https://leetcode.com/problems/reverse-vowels-of-a-string/ Write a function that takes a string as input and reverse only the vowels of a string. Examp 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805357933608960 On a broken keyboard, some of the keys are always stucked. So when you t 阅读全文
摘要:
https://pintia.cn/problem-sets/994805342720868352/problems/994805357258326016 Given a set of N (>) positive integers, you are supposed to partition th 阅读全文
摘要:
https://leetcode.com/problems/design-linked-list/ Design your implementation of the linked list. You can choose to use the singly linked list or the d 阅读全文
摘要:
https://leetcode.com/problems/linked-list-components/ We are given head, the head node of a linked list containing unique integer values. We are also 阅读全文
摘要:
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 阅读全文