chengdujin's recent timeline updates
chengdujin

chengdujin

V2EX member #8336, joined on 2011-04-28 13:11:02 +08:00
chengdujin's recent replies
楼主是看了 tomorrowland 吧
nlp + semantic web ... 很有趣 还要看实际效果
Nov 17, 2014
Replied to a topic by dbas Python python 字符串转字典问题
@dbas 你看我那个就行啦 从文件中读,输出结果和@est 一样
Nov 17, 2014
Replied to a topic by dbas Python python 字符串转字典问题
with open("input", "r") as f:
data = [line.strip().split() for line in f.readlines()]
print {d[0]:d[1] for d in data}
Oct 8, 2014
Replied to a topic by cloudzhou 程序员 leetcode 刷题有感
@cloudzhou 哈 longest palindromic substring 我也是n^2的,没过折腾了两天,最后还是选择用自己的办法(所以最后还是问号不是勾)

这道题我看讨论,n^2是过不了的,要用一个叫Manacher Algorithm的O(n)算法
Oct 8, 2014
Replied to a topic by cloudzhou 程序员 leetcode 刷题有感
同刷中,国庆刚过完一遍 也是用 Python :D

还剩三道题感觉太麻烦,没做
20.0% Regular Expression Matching
14.0% Text Justification
14.0% Wildcard Matching

准备本周开始下一遍
Sep 22, 2014
Replied to a topic by shyrock 程序员 JIT 为什么比 interpretation 快呢?
JIT会编译部分代码,并对反复用到的代码段进行优化
youcompleteme在linux上还好用,mac上由于系统自带vim版本太老,用起来总有各种问题
Jul 17, 2014
Replied to a topic by mhtt 剧集 最近在看美剧《暴君》,看得心里极难受。
@NemoAlex 嗯,叙利亚巴沙尔他爸也确实血腥 zy 过兄弟会和其他反对派 + 美国人私下和巴沙尔家族关系不错 可以喝酒这点在世俗化阿拉伯国家应该都没问题,不过片中开放程度来说更像阿联酋(第一集中也出现了哈里发塔)
Jul 17, 2014
Replied to a topic by mhtt 剧集 最近在看美剧《暴君》,看得心里极难受。
应该是影射沙特或者叙利亚
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3047 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 15:12 · PVG 23:12 · LAX 08:12 · JFK 11:12
♥ Do have faith in what you're doing.