上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 46 下一页
  2017年11月8日
摘要: You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the w 阅读全文
posted @ 2017-11-08 23:44 Beserious 阅读(127) 评论(0) 推荐(0) 编辑
  2017年10月31日
摘要: Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays. Example 1: Input: A: [1,2,3,2,1] B: [3,2,1,4,7 阅读全文
posted @ 2017-10-31 13:42 Beserious 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Given an array of characters, compress it in place. The length after compression must always be smaller than or equal to the original array. Every ele 阅读全文
posted @ 2017-10-31 13:40 Beserious 阅读(761) 评论(0) 推荐(0) 编辑
摘要: We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). N 阅读全文
posted @ 2017-10-31 13:37 Beserious 阅读(295) 评论(0) 推荐(0) 编辑
摘要: zip压缩和解压 zipd的优势就是跨平台 tar压缩和解压 TAR.GZ 压缩和解压 这种格式在压缩时不会占用太多CPU的,而且可以得到一个非常理想的压缩率。使用下面这种格式去压缩一个目录: TAR.BZ2压缩和解压 这种压缩格式是所有方式中压缩率最好的。它比前面的方式要占用更多的CPU与时间。 阅读全文
posted @ 2017-10-31 13:31 Beserious 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 在centos6.X上安装caffe 0.编译安装gcc4.8.5 由于centos6.x中的gcc版本老旧,不支持c++11所以要安装gcc4.8.5,以下是安装教程。参考 "CentOS 6.4 编译安装 gcc 4.8.0" 解压安装包进入目录执行download_prerequisites脚 阅读全文
posted @ 2017-10-31 13:30 Beserious 阅读(1735) 评论(0) 推荐(0) 编辑
  2017年10月23日
摘要: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in place, which 阅读全文
posted @ 2017-10-23 09:45 Beserious 阅读(130) 评论(0) 推荐(0) 编辑
  2017年10月22日
摘要: Given a linked list, remove the nth node from the end of list and return its head. For example, Note: Given n will always be valid. Try to do this in 阅读全文
posted @ 2017-10-22 14:13 Beserious 阅读(124) 评论(0) 推荐(0) 编辑
  2017年10月21日
摘要: Given a non empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from highest to lowest. If two words h 阅读全文
posted @ 2017-10-21 19:10 Beserious 阅读(320) 评论(0) 推荐(0) 编辑
  2017年10月20日
摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles The Rules. The Sudoku board could be partially filled, where empty cells are filled with 阅读全文
posted @ 2017-10-20 14:37 Beserious 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 46 下一页