世间万物,唯有美食与爱不可辜负。
晚上出去吃大餐安慰自己,给自己放波假。
接下来两天要seize life.
Take it easy.

the Aurora's Green Fog

the Aurora’s Green Fog

—-

今天刚到杭州,晚上和LY男神在河坊街逛吃逛吃的时候接到了北京网易有道的电话,约周五下午的面试,于是宝宝又订了明天去帝都的高铁票,不晓得我厂看在我这么辛苦的份儿上会不会给报销哈哈

今晚做了360的在线笔试题,两个小时40道选择题,2道编程题,算是本学期做过的笔试里最顺手的一次了。

1. Replacement

time limit per test2 seconds
memory limit per test256 megabytes
inputstandard input
outputstandard output

Daniel has a string s, consisting of lowercase English letters and period signs (characters ‘.’). Let’s define the operation of replacement as the following sequence of steps: find a substring “..” (two consecutive periods) in string s, of all occurrences of the substring let’s choose the first one, and replace this substring with string “.”. In other words, during the replacement operation, the first two consecutive periods are replaced by one. If string s contains no two consecutive periods, then nothing happens.

Continue reading

Hello Gays,

Today I will show how to install and run google chrome on Kali Linux V2.0 as root.

Step 1. Download google chrome stable.

Step 2. Install google chrome using ‘dpkg -i’ command. If you get error while installing use ‘apt-get install -f’ command.

Step 3. add –user-data-dir to google-chrome script.

Step 4. run google chrome without sandbox(for some reason most versions of google chrome are not working with sandbox in root).

Step 5. change the arguments in application icon file for easy access.

Step 6. Use it.

Continue reading

人是会讲故事的畜生,理性动物。

这是亚里士多德说过的一句话。

梦是有叙事结构的观感幻觉。一个人平均每晚在快速眼动期会有三场梦,那么一年大约有一千两百场梦,一辈子就是八万场电影。你是每一场电影的编剧、导演、演员和观众。你在故事界的资历之深,超过任何一位好莱坞导演。

Anyway, be  a good storyteller.

Continue reading

曾经走过的路,
长长的香樟树;

曾经聚在一起的人,
杯子碰撞,
孜然味飘荡在后湖的烧烤摊。

—-

这两天疯狂的爱上了渗透测试,这里附上ZoomEye(钟旭之眼)链接:

https://www.zoomeye.org

USA's Northeast Megalopolis

USA’s Northeast Megalopolis

晚上鹅场实习生笔试模拟考,三个算法的难度都不大,前两道都是Leetcode上做过的题目。

1. Gray Code

The gray code is a binary numeral system where two successive values differ in only one bit.

Given a non-negative integer n representing the total number of bits in the code, print the sequence of gray code. A gray code sequence must begin with 0.

For example, given n = 2, return [0,1,3,2]. Its gray code sequence is:

Continue reading

先说结果,三面挂了。

下午翘掉并行计算去湖大准备晚上鹅场笔试的事宜,大概五点多的时候阿里三面的面试官打电话过来。三面面试时间比较长,并不像别人说的很快就结束了,重点还是问项目,后面又问了其他计算机基础相关的内容。最后三面面试官直接告诉我三面跪了,然后给我分析了我的薄弱环节,很感激。

总之继续努力吧, Keep calm and Carry on.

CODING

字符串相关操作

Continue reading

昨晚和鹅场微信支付的面试官约在了今天早上在线笔试,第一次用collabedit有点方,就换回notepad++写代码,过了半个小时面试官打电话过来问我为什么不写了是不是遇到了什么问题,解释完原因以后宝宝赶紧转移战场了2333

题目是一道排序题员工签到系统,我的code已经放在github上了:

https://github.com/HenryKamg/EMS