上一页 1 2 3 4 5 6 ··· 36 下一页
摘要: Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1-... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(168) 评论(0) 推荐(0)
摘要: Maximum Depth of Binary Tree Total Accepted: 63668 Total Submissions: 141121 My Submissions Question Solution Given a binary tree, find it... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(200) 评论(0) 推荐(0)
摘要: Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers.Have you thought about this?... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(169) 评论(0) 推荐(0)
摘要: Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. • push(x) – Push element x onto stack. • p... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(201) 评论(0) 推荐(0)
摘要: Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 22; return 1.Example2: version1==”11.22.33”,... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(209) 评论(0) 推荐(0)
摘要: Remove all elements from a linked list of integers that have valueval.ExampleGiven: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6Return: 1 --> 2 --... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(129) 评论(0) 推荐(0)
摘要: Description:Count the number of prime numbers less than a non-negative number, n 提示晒数法:http://en.wikipedia.org/wiki/Sieve_of_Eratostheneshttps://p... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(137) 评论(0) 推荐(0)
摘要: 一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看: Basically OpenCV provides 2 methods to calculate a dense disparity map:cvFindStereoCorrespond... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(391) 评论(0) 推荐(0)
摘要: 就是几个动物,自动排列生成什么的class Animal(object): def __init__(self,name,weight): self.name = name self.weight = weight def eat(self): self.weight +=1 def spea... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(1394) 评论(0) 推荐(0)
摘要: 上面是没有调用cleaned_data的提交结果,可见模版直接把form里面的整个标签都接收过来了下面是调用cleaned_data 的结果django 的表单,提交上来之后是这样的:#coding: gb2312from django import formsclass ContactForm(f... 阅读全文
posted @ 2017-11-17 22:28 wangyaning 阅读(128) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 36 下一页