pdd demo with angular
hendry5479 / angular-pdd Goto Github PK
View Code? Open in Web Editor NEWpdd demo with angular
pdd demo with angular
二分法:https://leetcode-cn.com/problems/binary-search/
注意区间问题
原地移除值为N的元素: https://leetcode-cn.com/problems/remove-element/
快慢指针;双指针在数组和链表字符串的题目中很常见
和为N的长度最小的子数组:https://leetcode-cn.com/problems/minimum-size-subarray-sum/
滑动窗口;
移除链表值为N的所有节点:https://leetcode-cn.com/problems/remove-linked-list-elements/
虚拟头结点
反转链表:https://leetcode-cn.com/problems/reverse-linked-list/
双指针
两两交换节点:
画图,cur -> 2 -> 1 -> 3
删除链表的倒数第N个节点:https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list/
快慢指针,倒数第N,快指针就往前移动N步;平行四边形
环形链表II: https://leetcode-cn.com/problems/linked-list-cycle-ii/
返回链表入环的第一个节点
快慢指针,快慢指针的相遇一定在环内
从头结点出发一个指针,从相遇节点 也出发一个指针,这两个指针每次只走一个节点, 那么当这两个指针相遇的时候就是 环形入口的节点。
字母异位词:https://leetcode-cn.com/problems/valid-anagram/
使用26长度的数组作为字典
两个数组的交集:https://leetcode-cn.com/problems/intersection-of-two-arrays/
快乐数:https://leetcode-cn.com/problems/happy-number/
赎金信:https://leetcode-cn.com/problems/ransom-note/
类似异味词
三数之和:https://leetcode-cn.com/problems/3sum/
排序 + 双指针法;必须排序了才有指针移动的依据
有效的括号:https://leetcode-cn.com/problems/valid-parentheses/
删除字符串中的所有相邻重复项:https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string/
返回频率前k高的元素:https://leetcode-cn.com/problems/top-k-frequent-elements/
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.