Skip to content

wqdchn/geektime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

极客时间专栏

这个仓库包含一些极客时间专栏的相关内容。

算法面试通关40讲

数组与链表

# Title Solution Difficulty
206 Reverse Linked List Java, Python Easy
141 Linked List Cycle Java, Python Easy
24 Swap Nodes in Pairs Java, Python Medium
203 Remove Linked List Elements Java, Python Easy
27 Remove Element Java, Python Easy
26 Remove Duplicates from Sorted Array Java, Python Easy
11 Container With Most Water Java, Python Medium
83 Remove Duplicates from Sorted List Java, Python Easy
160 Intersection of Two Linked Lists Java, Python Easy
217 Contains Duplicate Java, Python Easy

堆栈与队列

# Title Solution Difficulty
232 Implement Queue using Stacks Java, Python, Python Easy
225 Implement Stack using Queues Java, Python Easy
20 Valid Parentheses Java, Python Easy

优先队列

# Title Solution Difficulty
703 Kth Largest Element in a Stream Java, Python Easy
239 Sliding Window Maximum Java, Python Hard

哈希表

# Title Solution Difficulty
242 Valid Anagram Java, Python Easy
15 Three Sum Java, Python Meidum
1 Two Sum Java, Python Easy
167 Two Sum II - Input array is sorted Java, Python Easy
653 Two Sum IV - Input is a BST Java, Python Easy
136 Single Number Java, Python Easy

树、二叉树、二叉搜索树

# Title Solution Difficulty
236 Lowest Common Ancestor of a Binary Tree Java, Python Medium
235 Lowest Common Ancestor of a Binary Search Tree Java, Python Easy
111 Minimum Depth of Binary Tree Java, Python Easy
104 Maximum Depth of Binary Tree Java, Python Easy
102 Binary Tree Level Order Traversa Java, Python Medium
98 Validate Binary Search Tree Java, Python Medium
606 Construct String from Binary Tree Java, Python Easy
112 Path Sum Java, Python Easy
107 Binary Tree Level Order Traversall II Java, Python Easy
100 Same Tree Java, Python Easy
108 Convert Sorted Array to Binary Search Tree Java, Python Easy

分治、递归

# Title Solution Difficulty
1137 N-th Tribonacci Number Python Easy
169 Majority Element Java, Python Easy
50 Pow(x, n) Java, Python Medium

贪心算法

# Title Solution Difficulty
122 Best Time to Buy and Sell Stock II Java, Python Easy
121 Best Time to Buy and Sell Stock Java, Python Easy

广度优先搜索、深度优先搜索

# Title Solution Difficulty
111 Minimum Depth of Binary Tree Java, Python Easy
104 Maximum Depth of Binary Tree Java, Python Easy
102 Binary Tree Level Order Traversa Java, Python Medium
22 Generate Parentheses Java, Python Medium

剪枝

# Title Solution Difficulty
51 N-Queens Java, Python Hard
36 Valid Sudoku Java Medium

二分查找

# Title Solution Difficulty
69 Sqrt(x) Java, Python Easy

字典树

# Title Solution Difficulty
212 Word Search II Java, Python Hard
208 Implement Trie (Prefix Tree) Java, Python Medium

位运算

# Title Solution Difficulty
338 Counting Bits Java, Python Medium
231 Power of Two Java, Python Easy
191 Number of 1 Bits Java, Python Easy
52 N-Queens II Java, Python Hard

动态规划

# Title Solution Difficulty
368 Largest Divisible Subset Python Medium
322 Coin Change Java, Python Medium
300 Longest Increasing Subsequence Java, Python Easy
152 Maximum Product Subarray Java, Python Medium
120 Triangle Java, Python Medium
72 Edit Distance Java, Python Hard
70 Climbing Stairs Java, Python Easy
53 Maximum Subarray Java, Python Easy
118 Pascal's Triangle Java, Python Easy

并查集

# Title Solution Difficulty

LRU Cache

# Title Solution Difficulty
146 LRU Cache Java, Python Medium

斐波那契数列

# Title Solution Difficulty
509 Fib Java, Python Easy

LeetCode课外练习

# Title Solution Difficulty
1048 Longest String Chain Java, Python Medium
1018 Binary Prefix Divisible By 5 Python Easy
806 Number of Lines To Write String Java, Python Easy
404 Sum of Left Leaves Java, Python Easy
389 Find the Difference Java, Python Easy
88 Merge Sorted Array Java, Python Easy
66 Plus One Java, Python Easy
42 Trapping Rain Water Java, Python Hard
35 Search Insert Position Java, Python Easy
28 Implement strStr() Java, Python Easy
21 Merge Two Sorted Lists Java, Python Easy
14 Longest Common Prefix Java, Python Easy
13 Roman to Integer Java, Python Easy
9 Palindrome Number Java, Python Easy
5 Longest Palindromic Substring Java Medium
4 Median of Two Sorted Arrays Java, Python Hard
3 Longest Substring Without Repeating Characters Java, Python Medium
2 Add Two Numbers Java, Python Medium
67 Add Binary Java, Python Easy
58 Length of Last Word Java, Python Easy

数据分析实战45讲

Title Data Solution
决策树 Iris鸢尾花数据集 R
决策树 Titanic泰坦尼克数据集 R, Jupyter Notebook
支持向量机 BreastCancer乳腺癌数据集 R, Jupyter Notebook
K近邻 Pima糖尿病数据集 R
K-Means 亚洲球队数据集 R, Python
EM聚类 王者荣耀英雄数据集 R, Python
AdaBoost BostonHousing波士顿房价数据集 R
随机森林 CreditCardDefault信用卡违约数据集 R
逻辑回归 EmployeeAttrition员工流失数据集 R

零基础学Python

略T_T

数据结构与算法之美

数组

链表

队列