Giter VIP home page Giter VIP logo

coding's Introduction

前端代码

该项目包含了前端的一些常用的 JSCSSJS 库、以及leetcode算法面试题手写题的代码实现

1. 补充题

207. 实现一个 koa2
15. parseQueryString
22. 获取对象的链式属性

2. 面试题

字节一面:给定一个二叉树, 找到该树中两个指定节点间的最短距离

3. Leetcode

二叉树

144. 二叉树的前序遍历 94. 二叉树的中序遍历 145. 二叉树的后序遍历
102. 二叉树的层序遍历
105. 前序中序构建二叉树
889. 前序后序构建二叉树
199. 二叉树的右视图
101. 对称二叉树

二叉树进阶

236. 二叉树的最近公共祖先
110. 平衡二叉树
111. 二叉树的最小深度
104. 二叉树的最大深度
112. 路径总和
113. 路径总和 II\

链表

22. 链表中倒数第 k 个节点
206. 反转链表

字符串

205. 同构字符串

回溯、排列

39. 组合总和
40. 组合总和 II
216. 组合总和 III
46. 全排列
47. 全排列 II
77. 组合
78. 子集
90. 子集 II

股票问题

121. 买卖股票的最佳时机
122. 买卖股票的最佳时机 II
123. 买卖股票的最佳时机 III
188. 买卖股票的最佳时机 IV
309. 最佳买卖股票时机含冷冻期
714. 买卖股票的最佳时机含手续费

单调栈

496. 下一个更大元素 I
739. 每日温度

区间

56. 合并区间
57. 插入区间

其他

146. LRU 缓存机制

Leetcode总结

  • 双指针 同向指针 \ 双向指针 \ 指针保存的是元素的索引位置
  • 矩阵深搜系列 矩阵中的路径 \ 岛屿数量 \ 机器人的运动范围
  • 子数组 前缀和\滑动窗口\动态规划

coding's People

Contributors

amelia-coding 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.