Heap cheatsheet for coding interviews(在新标签页中打开原网站)
PrepKit 摘要: 讲解堆和优先队列(页面认为在面试中两者是一回事),重点是识别 top-k 问题,以及反复取出最小或最大元素的场景。
- 堆
techinterviewhandbook.orgMIT LicenseYangshun Tay
来源和许可
许可: MIT License
作者: Yangshun Tay
- 来源版本:
e1d28e8- 上次与来源核对:
- 修改:
- PrepKit kept only Grind 75 question titles, difficulty, topic, and LeetCode links. The weekly schedule, durations, and ordering are not copied, and no LeetCode problem text is stored. For selected handbook guides PrepKit kept the title and a shortened summary; guide bodies, question lists, images, and links are not copied.
MIT License Copyright (c) 2017-Present Yangshun Tay Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.