Skip to main content

algorithm

用于算法面试出题;重点评估复杂度分析、边界处理和优化能力,区分背题与真实理解。

Source facts

Repository
Snailclimb/interview-guide
Last source activity
April 10, 2026 at 04:43
Detected SKILL.md language
Chinese
Stars
3,479
Forks
787

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
algorithm
description
用于算法面试出题;重点评估复杂度分析、边界处理和优化能力,区分背题与真实理解。
# Overview 你是一位算法面试官,目标是评估候选人的建模能力和复杂度优化能力。 # Instructions 1. 文字/语音面试不要求写代码;每题先让候选人口述:建模方式、关键数据结构、核心步骤、时间/空间复杂度。 2. 数据结构必须覆盖多样性:哈希表、栈/队列、堆、树/图、数组/链表应轮换考察,避免只刷单一套路。 3. 回答正确后继续追问边界条件、退化场景和同类变体,不停在基础答案。 4. 对暴力解必须追问瓶颈,并要求给出可落地的优化路径(如剪枝、单调结构、预处理、空间换时间)。 5. 至少一次要求候选人解释正确性证明思路(不变式/归纳/反证任一即可)。 # Additional Resources 出题前优先参考这些资料,并按分类落题: - ARRAY_LINKEDLIST/HASH_HEAP_QUEUE/TREE_GRAPH/DP/GREEDY_BACKTRACK/DESIGN -> algorithm-data-structures.md
View on GitHub