All Projects → zdong1995 → Algorithm-Patterns

zdong1995 / Algorithm-Patterns

Licence: other
面试常用算法框架分类总结,带你逐类击破 LeetCode 题目,培养算法思维,一通百通。Summary of Algorithm Patterns in coding interview. Cracking LeetCode and build up your algorithm thinking.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Algorithm-Patterns

Coding-Interview-101
Solutions to LeetCode problems filtered with companies, topics and difficulty.
Stars: ✭ 21 (-12.5%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews, interview-preparation
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+228545.83%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews, interview-preparation
Algorithms Leetcode Javascript
Algorithms resolution in Javascript. Leetcode - Geeksforgeeks - Careercup
Stars: ✭ 157 (+554.17%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews, interview-preparation
InterviewPrep
A repository containing link of good interview questions
Stars: ✭ 54 (+125%)
Mutual labels:  leetcode, leetcode-solutions, dynamic-programming, interview-preparation
Leetcode
🎓Leetcode solutions in Python 📚
Stars: ✭ 655 (+2629.17%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews, interview-preparation
CodingInterview
Leetcode解题、剑指offer第二版💪💪💪⛷😀
Stars: ✭ 28 (+16.67%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
Leetcode Sol Res
Clean, Understandable Solutions and Resources for LeetCode Online Judge Algorithm Problems.
Stars: ✭ 1,647 (+6762.5%)
Mutual labels:  leetcode, coding-interviews, interview-preparation
datastructures-and-algorithms
Repository for studying/practicing Data Structures, Algorithms and Code Interview Problems.
Stars: ✭ 30 (+25%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews
Leetcode In Swift
My solutions to LeetCode problems written in Swift
Stars: ✭ 150 (+525%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
Hello Algorithm
🌍 针对小白的算法训练 | 包括四部分:①.算法基础 ②.力扣图解 ③.大厂面经 ④.CS_汇总 | 附:1、千本开源电子书 2、百张技术思维导图(项目花了上百小时,希望可以点 star 支持,🌹感谢~)
Stars: ✭ 29,372 (+122283.33%)
Mutual labels:  leetcode, leetcode-solutions, dynamic-programming
Datastructures Algorithms
The best library for implementation of all Data Structures and Algorithms - Trees + Graph Algorithms too!
Stars: ✭ 2,105 (+8670.83%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
iOS-Algorithm
iOS数据结构算法
Stars: ✭ 22 (-8.33%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews
Competitiveprogrammingquestionbank
This repository contains all the popular competitive programming and DSA questions with solutions.
Stars: ✭ 122 (+408.33%)
Mutual labels:  leetcode, coding-interviews, interview-preparation
Leetcode Python
LeetCode solutions in Python2. LeetCode题解 in Python2。
Stars: ✭ 182 (+658.33%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
Competitive Programming
Contains solutions and codes to various online competitive programming challenges and some good problems. The links to the problem sets are specified at the beginning of each code.
Stars: ✭ 65 (+170.83%)
Mutual labels:  leetcode, dynamic-programming, interview-preparation
Leetcode
👏🏻 leetcode solutions for Humans™
Stars: ✭ 1,129 (+4604.17%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
Algorithmic Pseudocode
This repository contains the pseudocode(pdf) of various algorithms and data structures necessary for Interview Preparation and Competitive Coding
Stars: ✭ 519 (+2062.5%)
Mutual labels:  leetcode, coding-interviews, interview-preparation
CodingInterview
Solutions to Leetcode, CareerCup Coding problems
Stars: ✭ 64 (+166.67%)
Mutual labels:  leetcode, leetcode-solutions, coding-interviews
Leetcode Solutions
🏋️ Python / Modern C++ Solutions of All 2111 LeetCode Problems (Weekly Update)
Stars: ✭ 2,787 (+11512.5%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation
Leetcode-solutions
Leetcode Grinder.
Stars: ✭ 14 (-41.67%)
Mutual labels:  leetcode, leetcode-solutions, interview-preparation

java Build

文章首发于公众号『董小染』,算法文章主页:https://dongxiaoran.com/algo/


PS: 本仓库含有按类别总结题目的源码,便于本地 debug 练习。对于没有收录的题目,欢迎点击上方 Badge 链接阅读我的 LeetCode Solution Well Explained 代码。如果对你有帮助欢迎在 Github 点个 Star,给我继续更新的动力,谢谢!

在当前 LeetCode 千题时代下,刷完所有的题目是不现实的,因此更重要的是培养自己的算法思维和扎实数据结构知识,举一反三,深化思维。我们的目的不是完成题目,而是掌握思维过程和解决问题的能力,争取做一题解决一类题目,一通百通,高效快速准备算法面试。

本仓库归纳总结了 LeetCode 的同类型及相似思路的题目,按照从易到难的顺序,从线性到非线性数据结构的『增删改查』,从基础 Iterative 到深化 Recursion 思想,从 Intuitive 的算法到高阶的优化技巧,选取都是我认为比较经典或培养算法思维的题目,带你搭建起来自己的思维框架套路模板

  • 第一部分:从基础数据结构入手,从递归思想的入门与深化,再到高频的双指针和排序算法。
  • 第二部分:掌握搜索算法,宽度优先,深度优先,到记忆化存储剪枝优化,入门动态规划
  • 第三部分:高频面试题目分析,复杂题目讲解,高级数据结构等。

在开始刷题学习前,花几分钟阅读一下我总结的算法学习方法论和我的刷题练习经验分享,帮助你建立一个更清晰的 big picture 和学习思路。

目录

  1. 基础数据结构与算法
  2. 优雅重要的递归思维
  3. 巧妙高效的双指针
  4. 轻松手写排序算法
  5. 宽度优先搜索 (BFS)
  6. 深度优先搜索 (DFS)
  7. 数学归纳法与动态规划 (DP)
  8. 高频题目类型讲解

1. 基础数据结构与算法

1.1 LinkedList 的 Iterative 操作

1.2 Tree Iterative Traversal as Multi-level LinkedList

2. 优雅重要的递归思维

  • Introduction to Recursion

  • Recursion in LinkedList

  • Recursion in Tree

  • Recursion to Iterative

3. 巧妙高效的双指针

  • Two Sum Pattern: Code

  • Slow-Fast Pointers

  • K-way Merge

  • Deduplication

  • Sliding Window

  • Partition

4. 轻松手写排序算法

  • Merge Sort

  • Quick Sort

  • Quick Selection

  • Comparison-based Sort

5. 宽度优先搜索

  • Level Order Traversal

  • The Shortest Path

  • Connected Component

  • Topology Sorting

  • Best First Search and Dijkstra

6. 深度优先搜索

  • Subset

  • Permutation

  • Parentheses

  • Memoization

  • Graph Search

7. 从数学归纳法入门动态规划

  • 1D DP

  • 2D DP

  • Greedy

8. 高频题目类型讲解

  • Merge Intervals

  • Two Heap Pattern

  • Top-K Problem

  • Union Find

  • Data Structure Design

  • Bit Operations

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].