摘要: SELECT e1.id, e1.month, SUM (e2.salary) FROM Employee e1, Employee e2, (SELECT id, MAX (month) recent FROM [Employee]group by id) e3where e1.Id = e3.I 阅读全文
posted @ 2018-10-20 05:54 ffeng0312 阅读(406) 评论(0) 推荐(0)
摘要: https://leetcode.com/articles/get-highest-answer-rate-question/SELECT question_id as survey_log FROM ( SELECT question_id, SUM(case when action="answe 阅读全文
posted @ 2018-10-20 03:39 ffeng0312 阅读(309) 评论(0) 推荐(0)
摘要: https://leetcode.com/articles/employee-bonus/ SELECT name, bonus FROM Employee e LEFT JOIN Bonus b ON e.empId = b.empId WHERE bonus < 1000; select nam 阅读全文
posted @ 2018-10-20 03:03 ffeng0312 阅读(142) 评论(0) 推荐(0)
摘要: 18. 4Sumclass Solution(object): def fourSum(self, nums, target): nums.sort() results = [] self.findNsum(nums, target, 4, [], results) return results d 阅读全文
posted @ 2018-10-03 05:43 ffeng0312 阅读(122) 评论(0) 推荐(0)
摘要: Runtime: 32 msclass Solution(object): def reverse(self, x): """ :type x: int :rtype: int """ rev=0 if x<0: m=-1 else: m=1 i=x*m while i!=0: rev=rev*10 阅读全文
posted @ 2018-09-29 06:13 ffeng0312 阅读(144) 评论(0) 推荐(0)
摘要: 15. 3Sum 阅读全文
posted @ 2018-09-29 05:29 ffeng0312 阅读(129) 评论(0) 推荐(0)
摘要: I have a master degree and more than 3 years’ experience in data science field. After graduation, I joined a heath tech startup firstly. I worked ther 阅读全文
posted @ 2018-09-24 03:14 ffeng0312 阅读(205) 评论(0) 推荐(0)
摘要: 这次跳槽申请了五个职位,都是提前和朋友们打听好,自己很想去的公司。最后拿到了五个offer,多亏了大腿们的关照和朋友们的支持!这个过程中也认识到了很多自身的不足,学习了很多新技能。 某上市公司 - Machine Learning Engineer 四个 startup - Data Scienti 阅读全文
posted @ 2018-09-24 03:10 ffeng0312 阅读(621) 评论(0) 推荐(0)
摘要: Q1: 上来情景是一般fb会发给用户不同类型的message,有的是需要用户confirm的。后面巴拉巴拉一大串开头有点紧张也没有完全听明白。但是对于我们这种刷题型选手这不重要!只要上了table一下就能看懂了。不过大家还是要认真听intervewer说话,不要miss掉重要信息。例如:fb可能给同 阅读全文
posted @ 2018-09-24 03:07 ffeng0312 阅读(283) 评论(0) 推荐(0)
摘要: 1. 2018-08 marketplace pricing组,data engineer 我们组负责用machine learning models做实时的用户定价,直接影响Uber营收,利润和成长。可以说,我们组的performance相当程度上影响明年Uber上市的股价。 工作当中需要涉及到的 阅读全文
posted @ 2018-09-24 03:04 ffeng0312 阅读(1929) 评论(0) 推荐(0)