Skip to content

zhangming870/Python-Study

 
 

Repository files navigation

##Play with Python and Leetcode

###说给自己的话

从14年四月开始准备跳槽, 到现在已经四个月了.

有时绝望于别人的fancy解法, 有时失望于自己的低级错误, 有时怀疑自己的智商, 有时怀疑是不是server compilor有问题, 有时怀疑自己适不适合coding, 有时怀疑这些题目能否测试programmer的能力. 有时代码写完一遍都不想再看第二遍, 有时为了满足test case无脑改程序提交无数遍也未能AC...

无论过程如何, 回忆过去总是美好的. 上班 -> 下班 -> 健身 -> Leetcode -> 睡觉这样的生活cycle让我充实得没时间去发牢骚. 沉浸在这些不知道能给我带来什么的东西里, 也有一点快乐, 至少我的对手只是我自己, 规则很简单, 就是理解, 然后coding bug freely, 无他, 也无需多想.

但愿以后的我, 能够感谢现在的我, 曾经为了这些未知意义的事情而努力过.

2014/08/16

###后记

今天早上拿到了FB的offer, 非常开心这几个月以来的辛苦没有白费, 这一路面试一路跪过来, 最终被自己最向往的公司所认可, 也算是一种缘分, 否则以现在的我的心情, 无论多小的公司要我我都可能随时从了人家, 于是也就会跟我梦寐以求的公司失之交臂, 所以也要感谢那些跪了我的公司们, 要不是你们给我的"Mock Interview", 要不是你们恰到好处的跪了我激励我不断努力, 我也不会有今天这样的结果.

再感谢一下帮助过我的人.

首先感谢GF和家人在我最艰难的时候给我的支持, 忘不了那段跟GF边视频边做题到凌晨三点的日子.

感谢老板对我的支持, 知道我在骑驴找马, 但是还是告诉我放心大胆的请假面试, 公司的事儿他来搞定, 简直是感动得哭了.

感谢待字闺中版上的热心人帮忙refer, 感谢老同学老朋友们给我的推荐, 也希望国人在米国能够团结互助.

最后还要感谢九章算法的黄老师和群里的朋友们, 算法课十分针对北美的面试, 即使是刷了一遍Leetcode之后再上课还是感觉收获颇丰, 听黄老师课的时候经常会有醍醐灌顶的感觉. 祝九章越办越好.

2014/10/10

###Tips Please click here for some tips to start.

###About This Repository

leetcode.py is my first pass for leetcode, started from March, 2014. Didn't complete all of them and code weren't submitted to OJ.

Leetcode is my second pass for leetcode, started from Jun, 2014. Each submission may contain several solutions to OJ, all passed.

coding_index is my summary, including some class notes from NC.

zz_coding_index is the summary of leetcode questions by programming solutions, copied from Peking2.

system_design is my summary to the system design questions.

Whitebook including some solutions from Career Cup 150 questions. Very basic.

Concept Implement includes the python implementation of important CS concepts.

Interviews are real interview questions. Most of them are not in Leetcode.

run.py is a script to test solutions when input is not very complicated. Just update the file name and function name in Solution and run the script.

tool.py has two functions:

###Reference 由衷的感谢这些无私分享的人, 没有你们的帮助, 我没法完成这152/152.

###Methodology

###Sharing If you feel my solutions are helpful, I'll be happy. If you find problems or have better solutions, I'll be more than happy if you can discuss with me.

You can reach me at cyandterry at gmail.com

Please feel free to share the code for any personal use. For concept summary(all markdown files), please do not copy, distribute or transmit the material without my permission.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%