![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++,Python
文章平均质量分 72
GuoWwww
这个作者很懒,什么都没留下…
展开
-
小白开博+每日一题.2017001
这是第一次因为学习而开博客,在这个程序员大牛汇聚的CSDN发博客倍感压力在这里的目的就是能够学习到更多东西,同时在博友的督促下能坚持打代码。希望读者们在阅读时能包容我这个小白犯得低级错误在这里我相信我的编程能力能得到很大的提升。原创 2017-02-25 15:57:12 · 217 阅读 · 0 评论 -
2017017(期末)
8.23. In the NODE-DISJOINT PATHS problem, the input is an undirected graph in whichsome vertices have been specially marked: a certain number of “sources”s1, s2, . . . sk and an equal number of “d原创 2017-07-11 21:33:16 · 415 阅读 · 0 评论 -
2017014
Palindrome Pairs 回文对Given a list of unique words. Find all pairs of distinct indices(i, j)in the given list, so that the concatenation of the two words, i.e.words[i] + words[j]is a palindrom原创 2017-05-22 10:13:06 · 137 阅读 · 0 评论 -
2017012
[LeetCode] Flip Game 翻转游戏之二You are playing the following Flip Game with your friend: Given a string that contains only these two characters:+and-, you and your friend take turns to flip原创 2017-05-08 19:45:22 · 157 阅读 · 0 评论 -
2017010
[LeetCode] Largest BST Subtree 最大的二分搜索子树Given a binary tree, find the largest subtree which is a Binary Search Tree (BST), where largest means subtree with largest number of nodes in it.No原创 2017-04-24 17:10:22 · 156 阅读 · 0 评论 -
2017013
Remove Duplicate Letters 移除重复字母Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your result is原创 2017-05-15 10:25:23 · 191 阅读 · 0 评论 -
2017009
Given two sparse matrices A and B, return the result of AB.You may assume that A's column number is equal to B's row number.Example:A = [ [ 1, 0, 0], [-1, 0, 3]]B = [ [ 7,原创 2017-04-17 12:21:15 · 158 阅读 · 0 评论 -
2017011
Burst Balloons 打气球游戏Givennballoons, indexed from0ton-1. Each balloon is painted with a number on it represented by arraynums. You are asked to burst all the balloons. If the you原创 2017-05-01 16:35:13 · 237 阅读 · 0 评论 -
2017006
House Robber IIIThe thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each house has one and only one pare原创 2017-03-27 11:57:52 · 160 阅读 · 0 评论 -
2017005
Note: This is an extension of House Robber.After robbing those houses on that street, the thief has found himself a new place for his thievery so that he will not get too much attention. This time原创 2017-03-27 11:39:54 · 142 阅读 · 0 评论 -
2017008
medium:Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to find the number of connected components in an undirected graph.Exa原创 2017-04-10 18:33:34 · 150 阅读 · 0 评论 -
2017003
Given a collection of distinct numbers, return all possible permutations.原创 2017-03-13 14:29:01 · 186 阅读 · 0 评论 -
2017004
Today we will meet an interesting question:HOUSE ROBBER!!!! From LEETCODE 198.原创 2017-03-20 10:30:43 · 143 阅读 · 0 评论 -
20177016
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column).If two nodes are in the same row and column, the order should be from left原创 2017-06-12 19:53:36 · 151 阅读 · 0 评论