- 博客(51)
- 收藏
- 关注
原创 [LEETCODE]230. Kth Smallest Element in a BST
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST’s total elements.Follow up: What if the BST is mod
2016-07-30 20:05:20 408
转载 [leetcode] 368. Largest Divisible Subset
题目链接: https://leetcode.com/problems/largest-divisible-subset/Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satis
2016-07-30 11:53:50 393
原创 【LEETCODE】328. Odd Even Linked List
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes.You should try to do it in plac
2016-07-30 11:36:23 338
转载 绑定cpu 核
As multi-core CPUs become increasingly popular on server-grade hardware as well as end-user desktop PCs or laptops, there have been growing efforts in the community (e.g., in terms of programming model
2016-07-27 13:01:55 762
原创 mac opencv 找不到库解决办法
opencv 在mac 上面的使用非常的麻烦 mark 下以备不时之需要编译的的filter.cpp 其中添加的库有:#include "opencv2/highgui/highgui.hpp"#include "opencv2/imgproc/imgproc.hpp"#include "opencv2/core/core.hpp"#include "opencv2/video/video.
2016-07-26 13:06:01 1963
原创 [LEETCODE] 287. Find the Duplicate Number
[LEETCODE] 287. Find the Duplicate NumberGiven an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Assume tha
2016-07-24 13:08:54 1143
原创 [LEETCODE]318. Maximum Product of Word Lengths
[LEETCODE]318. Maximum Product of Word Lengths
2016-07-24 12:47:20 977
原创 [LEETCODE]52. N-Queens II
[LEETCODE]52. N-Queens IIFollow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.
2016-07-24 09:58:55 1004
原创 [leetcode] 319.Bulb Switcher
[leetcode] 319.Bulb SwitcherThere are n bulbs that are initially off.
2016-07-23 23:27:53 1075
原创 [LEETCODE] 268. Missing Number
[LEETCODE]268. Missing NumberGiven an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing from the array.
2016-07-23 21:06:11 321
原创 [LEETCODE] 372. super pow
【LEETCODE】372.super powYour task is to calculate ab mod 1337 where a is a positive integer and b is an extremely large positive integer given in the form of an array.Example1:a = 2 b = [3]Result: 8
2016-07-23 20:41:01 347
原创 [LEETCODE] 376. Wiggle Subsequence
376.Wiggle Subsequence 解题报告 A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The first difference (if o
2016-07-23 20:02:32 491
原创 leetcode 375. Guess Number Higher or Lower II
leetcode 375. Guess Number Higher or Lower II
2016-07-20 16:59:09 506
原创 leetcode 347. Top K Frequent Elements
Given a non-empty array of integers, return the k most frequent elements.For example, Given [1,1,1,2,2,3] and k = 2, return [1,2].
2016-07-16 11:38:39 261
原创 leetcode 350. Intersection of Two Arrays II
Given two arrays, write a function to compute their intersection.Example: Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2].
2016-07-16 10:47:12 294
原创 leetcode Find K Pairs with Smallest Sums
leetcode 373find K pairs with Smallest Sums
2016-07-15 23:06:52 408
原创 DeepLab: Semantic Image Segmentation
DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFs 论文学习笔记
2016-07-15 11:10:23 5824 2
原创 Learning Deconvolution Network for Semantic Segmentation
Learning Deconvolution Network for Semantic Segmentation 论文笔记
2016-07-13 14:23:10 1884
转载 Caffe学习系列:模型各层数据和参数可视化
先用caffe对cifar10进行训练,将训练的结果模型进行保存,得到一个caffemodel,然后从测试图片中选出一张进行测试,并进行可视化。In [1]:#加载必要的库import numpy as npimport matplotlib.pyplot as plt%matplotlib inlineimport sys,os,caffe
2016-07-13 10:33:48 3167
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人