注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
刚刚面完,应该是挂了,希望帮助大家
log parser, 给一个档案,直接从coderpad去读,这边lz因为读档案没有分行,花了点时间去debug,
之前问了recruiter,说不用读档案,所以稍微忘记了open是读一个chunk所以还要在分行,这花了一点时间debug
log 长这个样子
1523756544 3 239.163.2.230 1845784 66.166.213.116 80 TCP_HIT/200 1846031 GET http://interview.tubi.tvo
The video id that has the highest cache hit ratio that is less than 1.0
The video id that has the lowest cache hit ratio that is greater than 0.0
第二个就找不出为什么错,move on吧,求大米看面经 |