珍惜现在写代码的时间
本项目是对以前编程训练的一些梳理和总结
通常能控制时间在O(n),通常用于子串问题、极值问题。 核心点是理清前后指针移动相关逻辑。
动态规划的核心是寻找状态迁移方程
当问题当规模+1,寻找f(n+1)和f(n)之间当关系
一般通过dfs搜索
通常回溯能优化保存路径消耗的空间
剪枝能提前终止搜索,降低时间消耗
二叉树遍历
树的其他问题
树的其他问题通常用到递归,递归方法的参数和方法定义是思路的关键。
DFS搜索
珍惜现在写代码的时间
本项目是对以前编程训练的一些梳理和总结
通常能控制时间在O(n),通常用于子串问题、极值问题。 核心点是理清前后指针移动相关逻辑。
动态规划的核心是寻找状态迁移方程
当问题当规模+1,寻找f(n+1)和f(n)之间当关系
一般通过dfs搜索
通常回溯能优化保存路径消耗的空间
剪枝能提前终止搜索,降低时间消耗
二叉树遍历
树的其他问题
树的其他问题通常用到递归,递归方法的参数和方法定义是思路的关键。
DFS搜索
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.