- 博客(6)
- 问答 (13)
- 收藏
- 关注
原创 5、Longest Palindromic Substring
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.
2017-09-23 22:03:21 202
原创 4. Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [1,
2017-09-20 18:36:41 202
原创 3. Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "
2017-09-20 10:44:28 264
原创 C++map的初始化
map的初始化有两种方式:1、直接赋值 map[key]=value;2、用insert添加pair类型的元素#include#include#includeusing namespace::std;int main(){ //直接赋值法 map m1; m1[string("abc")] = 1; m1[string("defg")] = 2;
2017-09-20 10:16:15 53456 6
转载 C++中的static关键字的总结
原文地址:http://www.cnblogs.com/BeyondAnyTime/archive/2012/06/08/2542315.html C++的static有两种用法:面向过程程序设计中的static和面向对象程序设计中的static。前者应用于普通变量和函数,不涉及类;后者主要说明static在类中的作用。1.面向过程设计中的static1.1静态全局变量
2017-09-19 18:46:39 172
转载 Batch Normalization
Batch Normalization 学习笔记原文地址:http://blog.csdn.net/hjimce/article/details/50866313作者:hjimce一、背景意义本篇博文主要讲解2015年深度学习领域,非常值得学习的一篇文献:《Batch Normalization: Accelerating Deep Network Traini
2017-09-09 09:46:03 1395
空空如也
lintcode 旋转链表的问题
2018-01-20
Lintcode 链表插入排序
2017-10-29
c++ primer练习题疑问
2017-06-29
caffe自定义自己的层的时候出现Unknown type
2017-03-27
caffe里加一个滤波器的层?
2017-03-21
C++Primer习题7.9中用istream 读入数据
2017-02-27
caffe安装中出现msb4062
2016-11-08
caffe安装网上教程没有解决的问题
2016-11-07
交换两个int指针形参类型为什么是int*&?
2016-10-27
函数调用在常量表达式中必须含有常量值
2016-09-23
c++用for循环遍历vector只能输出第一个元素?
2016-09-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人