摘要:
leetcode 31. Next Permutation Medium descrition Implement next permutation, which rearranges numbers into the lexicographically next greater permutati 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
leetCode 11. Container With Most Water Medium descrition Given n non negative integers a1, a2, ..., an, where each represents a point at coordinate (i 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Andrew 机器学习课程笔记 完成 Andrew 的课程结束至今已有一段时间,课程介绍深入浅出,很好的解释了模型的基本原理以及应用。在我看来这是个很好的入门视频,他老人家现在又出了一门 deep learning 的教程,虽然介绍的内容很浅,毕竟针对大部分初学者。不管学习到什么程度,能将课程跟一遍 阅读全文
摘要:
vim vim 放便于linux下对文档进行编辑修改,通过配置以后可以构成一个强大的编程ide。使用vim过程主要注意vim工作模式之间的转换,一般可分为:普通模式(normal mode)、插入模式(insert mode)和视图模式(visual mode)。 vin工作模式之间的切换: 1. 阅读全文