06 2017 档案
摘要:题目: Given n x m non-negative integers representing an elevation map 2d where the area of each cell is 1 x 1, compute how much water it is able to trap
阅读全文
摘要:题目: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after rain
阅读全文
摘要:1. C++ 面经 2017暑期实习C++面经(阿里,网易游戏,腾讯等) 浙大研究生 腾讯2017实习生招聘后台开发c++岗位面试 华科 2016年面试总结(c++,机器学习),希望给同学们一点帮助 清华研究生 【阿里、腾讯、头条】等12家企业【C++方向】30场面试经验 北邮研究生 2017春招实
阅读全文
摘要:http://blog.csdn.net/zxzxy1988/article/details/7883567
阅读全文
摘要:题目: Given an array of integers, how many three numbers can be found in the array, so that we can build an triangle whose three edges length is the thr
阅读全文
摘要:题目: For a given source string and a target string, you should output the first index(from 0) of target string in source string. If target does not exi
阅读全文
摘要:此次博客是转载某位博主的文章,不过现在找不到了,所以先声明一下。 先贴一段代码: 结果: 字符串常量OK 区别分析: 字符数组和字符串常量的区别,本质区别:前者在栈上分配空间,后者存储在静态存储区等。 这里 str_2是指针, 指向”Crazy2″这个字符串常量的内存首地址, 而str_1是在栈里分
阅读全文
摘要:1. 两种方式: 终端输出图像新窗口输出图像 2. 终端输出命令: %matplotlib inline 新窗口输出命令: %matplotlib qt5 注意此两个语句是命令行输入,若在spyder中此语句无效,需要到ipython窗口命令窗口中输入,而若是在juypter notebook中则可
阅读全文