上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页
摘要: 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 阅读全文
posted @ 2019-01-21 22:55 丧心病狂工科女 阅读(170) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805357933608960 On a broken keyboard, some of the keys are always stucked. So when you t 阅读全文
posted @ 2019-01-21 21:49 丧心病狂工科女 阅读(321) 评论(1) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805357258326016 Given a set of N (>) positive integers, you are supposed to partition th 阅读全文
posted @ 2019-01-21 21:36 丧心病狂工科女 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1.摆花问题 题目描述小明的花店新开张,为了吸引顾客,他想在花店的门口摆上一排花,共m盆。通过调查顾客的喜好,小明列出了顾客最喜欢的n种花,从1到n标号。为了在门口展出更多种花,规定第i种花不能超过ai盆,摆花时同一种花放在一起,且不同种类的花需按标号的从小到大的顺序依次摆列。试编程计算,一共有多少 阅读全文
posted @ 2019-01-21 10:45 丧心病狂工科女 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-01-20 22:01 丧心病狂工科女 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-01-20 21:30 丧心病狂工科女 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-01-19 22:56 丧心病狂工科女 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-01-19 22:33 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/add-two-numbers-ii/ You are given two non-empty linked lists representing two non-negative integers. The most significan 阅读全文
posted @ 2019-01-19 21:14 丧心病狂工科女 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 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 丧心病狂工科女 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页