上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页
摘要: 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 阅读全文
posted @ 2019-01-22 11:46 _Zlrrr 阅读(181) 评论(0) 推荐(0)
摘要: 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 _Zlrrr 阅读(172) 评论(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 _Zlrrr 阅读(332) 评论(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 _Zlrrr 阅读(145) 评论(0) 推荐(0)
摘要: 1.摆花问题 题目描述小明的花店新开张,为了吸引顾客,他想在花店的门口摆上一排花,共m盆。通过调查顾客的喜好,小明列出了顾客最喜欢的n种花,从1到n标号。为了在门口展出更多种花,规定第i种花不能超过ai盆,摆花时同一种花放在一起,且不同种类的花需按标号的从小到大的顺序依次摆列。试编程计算,一共有多少 阅读全文
posted @ 2019-01-21 10:45 _Zlrrr 阅读(464) 评论(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 _Zlrrr 阅读(195) 评论(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 _Zlrrr 阅读(202) 评论(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 _Zlrrr 阅读(115) 评论(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 _Zlrrr 阅读(125) 评论(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 _Zlrrr 阅读(189) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 87 下一页