摘要: leetcode 31. Next Permutation Medium descrition Implement next permutation, which rearranges numbers into the lexicographically next greater permutati 阅读全文
posted @ 2017-11-15 10:00 .....? 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 27. Remove Element Easy descrition Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate 阅读全文
posted @ 2017-11-14 00:11 .....? 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 26. Remove Duplicates from Sorted Array Easy descrition Given a sorted array, remove the duplicates in place such that each element appear only once a 阅读全文
posted @ 2017-11-13 23:35 .....? 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 18. 4Sum Medium descrition Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique qu 阅读全文
posted @ 2017-11-13 23:34 .....? 阅读(175) 评论(0) 推荐(0) 编辑
摘要: leetCode 15. 3Sum Medium descrition Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets 阅读全文
posted @ 2017-11-13 23:33 .....? 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 16. 3Sum Closest Medium descrition Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Re 阅读全文
posted @ 2017-11-13 23:33 .....? 阅读(183) 评论(0) 推荐(0) 编辑
摘要: leetCode 11. Container With Most Water Medium descrition Given n non negative integers a1, a2, ..., an, where each represents a point at coordinate (i 阅读全文
posted @ 2017-11-11 22:02 .....? 阅读(270) 评论(0) 推荐(0) 编辑
摘要: leetCode 4 Median of Two Sorted Arrays Hard descrition There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of th 阅读全文
posted @ 2017-11-11 00:11 .....? 阅读(291) 评论(0) 推荐(0) 编辑
摘要: leetCode 1 Two Sum Easy descrition Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may a 阅读全文
posted @ 2017-11-11 00:10 .....? 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 从今年 3 月份开始准备找实习,到现在校招结束,申请的工作均为机器学习/数据挖掘算法相关职位,也拿到了几个 sp offer。经历这半年的洗礼,自己的综合能力和素质都得到了一个质的提升。 实话说对于未来去哪里,即将如何发展还没有清晰的规划。迷茫总是会有的,但这并不是停止脚步的理由。找工作是在漫长的职 阅读全文
posted @ 2017-11-09 17:32 .....? 阅读(52764) 评论(2) 推荐(15) 编辑
摘要: Andrew 机器学习课程笔记 完成 Andrew 的课程结束至今已有一段时间,课程介绍深入浅出,很好的解释了模型的基本原理以及应用。在我看来这是个很好的入门视频,他老人家现在又出了一门 deep learning 的教程,虽然介绍的内容很浅,毕竟针对大部分初学者。不管学习到什么程度,能将课程跟一遍 阅读全文
posted @ 2017-11-04 17:35 .....? 阅读(1867) 评论(0) 推荐(1) 编辑
摘要: 决策树 决策树是十大数据挖掘算法之一,在很多工程实践中都取得了很好的效果。其分类决策过程与20问游戏类似,专家系统中经常适用决策树,而且决策树给出结果往往可以匹敌在当前领域具有几十年工作经验的人类专家。 本文对决策树的基本原理,优缺点,应用场景等进行了简要的概述。此外将会陆续实现常用的机器学习和数据 阅读全文
posted @ 2017-05-28 23:24 .....? 阅读(1655) 评论(0) 推荐(0) 编辑
摘要: 前言 学习机器学习和数据挖掘的相关知识也有一段时间了,平时事情比较多也就懒得做笔记, 回忆起来,AndrewNg 在coursera上开设的机器学习课程受益匪浅,课程覆盖了机器学习的基础内容,深入浅出,把很多概念解释得很到位。 以AndrewNg的课程为出发点,参考多本经典的教材,对经典的机器学习和 阅读全文
posted @ 2017-05-02 22:23 .....? 阅读(711) 评论(0) 推荐(0) 编辑
摘要: vim vim 放便于linux下对文档进行编辑修改,通过配置以后可以构成一个强大的编程ide。使用vim过程主要注意vim工作模式之间的转换,一般可分为:普通模式(normal mode)、插入模式(insert mode)和视图模式(visual mode)。 vin工作模式之间的切换: 1. 阅读全文
posted @ 2017-05-01 21:11 .....? 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 期望题 1. 抛一个6面的骰子,连续抛直到6为止,问期望的抛的次数是多少 设期望次数为E,那么有: [1]1次抛出6的概率为1/6,那么期望次数为1 1/6 [2]本次抛出非6数字的概率为5/6,因为没有抛出6,因此期待抛出6还需要执行试验的次数仍为E,需要注意加上本次(1次)失效的抛掷,即期望次数 阅读全文
posted @ 2017-04-28 10:31 .....? 阅读(17837) 评论(2) 推荐(1) 编辑