摘要: 直接影响工作效率的四种能力:沟通能力、自学能力、自我管理能力、问题解决能力。提高沟通能力,是程序员提高自我修养的必要条件。相信很多人跟我一样,性格内向,信仰技术,很少有跟人说话的愿望,只是想看代码、写代码、看代码、写代码。。。。但是这样真的是不行的。有没有过因为沟通能力的问题在面试中惨遭淘汰的经历? 阅读全文
posted @ 2016-04-01 16:56 Zhao_Gang 阅读(957) 评论(3) 推荐(1) 编辑
摘要: 程序员"青春饭"问题之我见 声明:转载请注明出处。http://www.cnblogs.com/hzg1981/ 1. 问题描述 问题1: 什么是程序员? 在本文中程序员的定义为: 拥有编程技能,在IT、互联网公司打工的IT从业人员。程序员与很多行业最大的不同是该行业的形成时间短:1954年第一台计 阅读全文
posted @ 2015-06-17 15:52 Zhao_Gang 阅读(6013) 评论(43) 推荐(34) 编辑
摘要: 今天下午带彤彤去了地坛庙会。 一开始她不愿意出去,只好告诉她去味多美买面包。到了楼下要上车,告诉她车打不开了,又要抱着她走,才把她骗到味多美。因为地坛庙会的关系,人多的走不动路。我先排队,郭静带她去选面包。排到了让彤彤给售货员一张100的,她不愿意找,还是我用微信付了钱。然后郭静在麦当劳找到一个门口 阅读全文
posted @ 2019-02-05 18:30 Zhao_Gang 阅读(82) 评论(0) 推荐(0) 编辑
摘要: question: try: result: 22.58% conclusion: dm 阅读全文
posted @ 2018-05-01 12:21 Zhao_Gang 阅读(91) 评论(0) 推荐(0) 编辑
摘要: question: try: result: conclusion: 对这个题无语。 一开始我在想暴力法,先找到所有substring,再找最长的那个。但是好复杂。 看了讨论区,一个人说这是愚人节的题目。。才找到思路。。 阅读全文
posted @ 2018-04-29 13:38 Zhao_Gang 阅读(116) 评论(0) 推荐(0) 编辑
摘要: question: try: result: re-try: result: conclusion: 效率很低,n2. 看讨论区里的posts,发现主要问题在于对于n和n+1,我的方法是重新计算n+1是否good,浪费。如果使用dp,可以利用n是否good这个结论,从而降低复杂度。 讨论区里面还有一 阅读全文
posted @ 2018-04-29 11:39 Zhao_Gang 阅读(114) 评论(0) 推荐(0) 编辑
摘要: question: 分析: 先根遍历 try: result: conclusion: 阅读全文
posted @ 2018-04-29 09:09 Zhao_Gang 阅读(77) 评论(0) 推荐(0) 编辑
摘要: question: first: result: Submission Detail 46 / 46 test cases passed. Status: Accepted Runtime: 26 ms Submitted: 0 minutes ago 46 / 46 test cases pass 阅读全文
posted @ 2018-04-28 23:08 Zhao_Gang 阅读(277) 评论(0) 推荐(0) 编辑
摘要: question: first: result: second: result: conclusion: 阅读全文
posted @ 2018-04-28 11:07 Zhao_Gang 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Problem: try: result: 想当然! second: result: 被这个stupid的问题卡了好久。。因为leetcode的编辑器没有数据类型的关键字高亮提示,所以把这个问题忽略了,int是不能作为变量名称使用的。 re-try: result: 分析: 用LinkedHashM 阅读全文
posted @ 2018-04-28 10:18 Zhao_Gang 阅读(102) 评论(0) 推荐(0) 编辑
摘要: problem: Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right wh 阅读全文
posted @ 2018-04-26 13:45 Zhao_Gang 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Given a string, you need to reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order. E 阅读全文
posted @ 2018-04-26 11:07 Zhao_Gang 阅读(106) 评论(0) 推荐(0) 编辑