Giter Site home page Giter Site logo

carolzhangzz / datastructure_algorithm_handbook_preforleetcode Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.99 MB

Data Structure and Algorithm Handbook

Home Page: https://carolzhangzz.github.io/DataStructure_Algorithm_HandBook_PreForLeetCode/

datastructures-algorithms interview leetcode sde

datastructure_algorithm_handbook_preforleetcode's Introduction

This HandBook it currently developed by gitHub page.

Basic Language Features

右移和左移操作 js 语法

前端开发面试手写代码题

字符串解析 ConvertToTree

Basic Data Structure

LinkedList

206. Reverse Linked List

92. Reverse Linked List II

83. Remove Duplicates from Sorted List

19. Remove Nth Node From End of List

21. Merge Two Sorted Lists

160. Intersection of Two Linked Lists

2. Add Two Numbers

142. Linked List Cycle II

Hash Map

1160. Find Words That Can Be Formed by Characters

1189. Maximum Number of Balloons

1207. Unique Number of Occurrences

217. Contains Duplicate

20. Valid Parentheses

Search Algorithm

DFS(深度优先搜索)

BFS(广度优先搜索)

Binary tree

A binary tree is a simple directed graph where each node has a left node and a right node.

The main traversal methods of binary trees are BFS and DFS.

226. Invert Binary Tree

101. Symmetric Tree

104. Maximum Depth of Binary Tree

111. Minimum Depth of Binary Tree

222. Count Complete Tree Nodes

110. Balanced Binary Tree

257. Binary Tree Paths

404. Sum of Left Leaves

513. Find Bottom Left Tree Value

112. Path Sum

654. Maximum Binary Tree

617. Merge Two Binary Trees

235. Lowest Common Ancestor of a Binary Search Tree

108. Convert Sorted Array to Binary Search Tree

这个模块是一个小进阶的模块,涉及到了很多的递归,由于递归的**和我们大脑的思考方法是相反的,但是回溯并不是一个很高效的算法,只适合解决一些数据规模比较小的场景。

77. Combinations

39. Combination Sum

40. Combination Sum II

216. Combination Sum III

93. Restore IP Addresses

78. Subsets

491. Non-decreasing Subsequences

46. Permutations

47. Permutations II

698. Partition to K Equal Sum Subsets

51. N-Queens

Tips for beginners:

Do not stay too long in one question ⏰.

When you are stuck, try to think for 7~10 minutes. If you still could not figure it out or have any ideas, you should see the answers.

Use tools to help you understand 📱.

Data structures can sometimes be difficult to grasp because it's hard to think through them using only your brain. Try drawing graphs and breaking down the steps.

Be patient and not limited to one solution 🤔.

Most questions should have various answers. Try to explore multiple solutions if you can. Sometimes, other answers will give you more insight. Remember, it's not about how many questions you've done; it's about whether you're familiar with the algorithms behind them.

Discuss code with others 👭👬.

Whether they fully understand it or not, discussing code with others can enhance your grasp of programming languages.

datastructure_algorithm_handbook_preforleetcode's People

Contributors

carolzhangzz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.