摘要: http://poj.org/problem?id=1276 Description A Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills f 阅读全文
posted @ 2018-12-22 21:49 丧心病狂工科女 阅读(198) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/intersection-of-two-arrays/ Given two arrays, write a function to compute their intersection. Example 1: Example 2: Inpu 阅读全文
posted @ 2018-12-22 16:48 丧心病狂工科女 阅读(100) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sort-array-by-parity-ii/ Given an array A of non-negative integers, half of the integers in A are odd, and half of the i 阅读全文
posted @ 2018-12-22 16:35 丧心病狂工科女 阅读(236) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/intersection-of-two-arrays-ii/ Given two arrays, write a function to compute their intersection. Example 1: Example 2: I 阅读全文
posted @ 2018-12-22 15:50 丧心病狂工科女 阅读(101) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/hand-of-straights/ Alice has a hand of cards, given as an array of integers. Now she wants to rearrange the cards into g 阅读全文
posted @ 2018-12-22 13:21 丧心病狂工科女 阅读(171) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ Given preorder and inorder traversal of a tree, construct the 阅读全文
posted @ 2018-12-22 11:47 丧心病狂工科女 阅读(109) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/flatten-binary-tree-to-linked-list/ Given a binary tree, flatten it to a linked list in-place. For example, given the fo 阅读全文
posted @ 2018-12-22 10:39 丧心病狂工科女 阅读(95) 评论(0) 推荐(0) 编辑