Back to authors
yennanliu

yennanliu

16 Skills published on GitHub.

code-refactor-master

Code refactoring expert for improving code quality, readability, maintainability, and performance. Specializes in Java and Python refactoring patterns, eliminating code smells, and applying clean code principles. Use when refactoring code, improving existing implementations, or cleaning up technical debt.

UncategorizedView skill →

add-time-space

Add standardized Javadoc time and space complexity comments to LeetCode Java solutions. Use when a directory under leetcode_java/ needs its `time = O(...)` / `space = O(...)` annotations added, normalised from inline comments, or filled in by hand where the script could not infer them.

UncategorizedView skill →

l3-core

Report where the L3 core set stands and pick the next problems to drill from it. The set is Blind 75 plus the NeetCode 150 problems README marks MUST — 99 problems, held fixed in data/l3_core.json so its ok share means something month to month — and the verdict for each is the latest annotation in data/progress.txt, not README's status column. Use when asked what to practise today, how ready the core set is, how many of Blind 75 are solid, which problems keep coming back, or to refresh the set after a MUST marker or a list changed. Triggers - "/l3-core", "/l3-core next 5", "what should I drill today?", "how is the core set looking?", "which Blind 75 are still again?", "refresh the l3 core list".

UncategorizedView skill →

lc-again

Move a problem's README status cell after a re-solve — promote AGAIN to OK when it was genuinely re-derived unaided, add a review pass when it was not, or demote OK back to AGAIN when a solid problem comes back. Keeps the trailing `*` run, which is the recorded pass count that the cost curve and the review planner both read, and refreshes data/again_problems.txt. Use when asked to mark a problem solid, to graduate an AGAIN marker, to record another failed pass, or to update the status column after drilling something. Triggers - "I finally got 128, mark it OK", "/lc-again 139", "promote 1143 to OK", "560 came back again", "refresh the again list".

UncategorizedView skill →

lc-algo-demo

Add or edit an algorithm visualizer under algo_demo/ against the shared contract the other 36 pages already obey — colours read from the VIZ palette and never hardcoded, no re-implementation of the devicePixelRatio canvas wrapper, the step trace written in the three shapes createLogger renders as structure, the trace in its own full-width panel below the canvas, and `draw = VIZ.repaintable(draw)` for any draw() that takes arguments. Use when asked to add a visualizer, animate an algorithm, build a demo page, or change something that should look the same on every visualizer. Triggers - "add a visualizer for Dijkstra", "/lc-algo-demo trie", "animate the sliding window", "the trace is unreadable on the segment tree page".

UncategorizedView skill →

lc-cheatsheet

File a LeetCode problem into the cheatsheets under doc/cheatsheet/ the way the existing sections are written — find the sheet whose Scope line owns the topic, file it under the pattern it belongs to (a worked example, a variation on an existing template, a new pattern section, or a new sheet), smoke-test every snippet, fix the heading anchors the edit moved, and re-translate the 中文 sections it invalidated. Use when asked to add or update a cheatsheet, to document a pattern just learned, to add an LC example or a template variation to a sheet, or to start a new cheatsheet. Triggers - "add LC 1650 to binary_tree as a variation", "/lc-cheatsheet 239 into sliding_window", "document the monotonic stack pattern", "update the LCA part of the binary tree cheatsheet".

UncategorizedView skill →

lc-coach

FAANG coding-interview coach. Scores a solution the way an interviewer does on the six-point scale (SH/H/LH/LNH/NH/SNH), writes the debrief packet from the interviewer's side of the table, teaches the DSA fundamentals underneath, dry-runs code out loud, names the one line that blocks the optimal complexity, and recommends the sibling problems to drill next. Use when preparing for or debriefing a LeetCode-style SWE interview — "review my solution", "would this pass?", "what's my verdict?", "how would an interviewer see this?", "why is this O(n^2)?", "mock interview me", "what should I do after LC 239?".

UncategorizedView skill →

lc-discussion

Search recent LeetCode Discuss posts (leetcode.com/discuss/) by keyword — a company, a level, a round — read the ones that describe real interview questions, map each question to an LC number, check every one against README and the practice log, and write the result as a 繁體中文 summary doc under doc/ws/. Use when asked what a company has been asking lately, to scan LC discuss for interview experiences, to turn recent posts into a drill list, or to summarise discussion threads into a doc. Triggers - "/lc-discussion google", "/lc-discussion meta e4 --days 30", "scan LC discuss for recent Google L3 questions", "what is Amazon asking lately?", "summarise the latest interview posts into a doc".

UncategorizedView skill →

lc-faq-add

File an interview question and answer into doc/faq/ in the shape the other 49 FAQs use — the sheet its Scope line owns, the numbered section it belongs under, tagged code fences — and write the matching 繁體中文 overlay section in the same pass, because that tree is 100% translated and a new English answer leaves a hole the moment it lands. Use when asked to add an FAQ entry, document an interview question, answer a backend/Java/SQL/Kafka question into the notes, or start a new FAQ file. Triggers - "add a question about virtual threads to the java FAQ", "/lc-faq-add kafka rebalancing", "document this interview question", "start a FAQ for gRPC".

UncategorizedView skill →

lc-java

File a LeetCode **Java** solution into this repo the way the existing ones are filed — put it in the package its pattern owns, write the file-level javadoc header (`<number>. <Title>` then difficulty then the statement), mark the solution blocks `// V0` / `// V0-1` / `// V1-1` so the markers match the method names, add the `time =` / `space =` javadoc, compile and run it, write every block as the standard, readable approach with explanatory comments and no clever syntactic sugar, file each other good approach as `// V1`, `// V2`, …, then add the `[Java]` link to the README row the problem already has. Use when asked to "add LC <number> in Java", to file a draft out of `ws/Workspace26.java`, to port an existing Python solution to Java, or to close part of the Java coverage gap. Triggers - "add LC 25 to LinkedList in java", "/lc-java 239 SlideWindow", "file my workspace draft", "port LC 207 to java".

UncategorizedView skill →

lc-log

Append today's practice session to data/progress.txt — the daily log that is the only source for the review plan. Writes the day's line in the log's own shape (the YYYYMMDD date, the bucket labels, the `|` session separators), carries forward the buckets still open from yesterday, and gets the annotations right, because `again` / `again!!!` / `ok` / `ok*` / `todo` are what the whole spaced-repetition schedule keys on. Use when asked to log practice, record what was solved today, update the progress file, or mark a problem as done or still shaky. Triggers - "log today's practice", "/lc-log 23 ok, 24 again!!", "record that I did 141 and 142 clean", "update progress".

UncategorizedView skill →

lc-python

File a LeetCode **Python** solution into this repo the way the existing ones are filed — find the problem's real slug, write the Python file in the house layout (problem docstring, V0 with an IDEA block and a time/space line; the standard, readable approach with explanatory comments and no clever syntactic sugar; every other good approach filed as V1, V2, …), smoke-test it against the examples, and insert the README row. Use when asked to "add LC <number>" in Python, to file a problem just solved in a weekly contest, to turn a pasted draft into a committed solution, or to wire an existing solution file into README. For the Java counterpart use lc-java instead. Triggers - "add LC 4038 to Hash_table", "/lc-python 239 slide_window", "add this python solution and update the README", "file yesterday's contest Q1".

UncategorizedView skill →

lc-site-data

Add a topic to the Study Roadmap (data/roadmap.json) or a question to the Complexity Quiz (data/complexity_quiz.json), satisfying the build-time validators in one pass — a row strictly below every prereq, no cycle and no edge the graph already implies, sheet slugs and LC numbers that exist, no duplicate quiz id, accept always an array, and every answer parseable by site/complexity.js's single-letter identifiers. Use when asked to add a roadmap topic, wire a topic's prerequisites, add a complexity question or drill, or fix a build that a roadmap or quiz entry failed. Triggers - "add monotonic stack to the roadmap", "/lc-site-data quiz for LC 239", "add a complexity question", "the roadmap build is failing".

UncategorizedView skill →

lc-zh-translate

Translate cheatsheet or FAQ sections into 繁體中文 as a sparse overlay under i18n/zh/, using script/zh.js's sync → todo → write → sync → status loop. Keeps every <!--CODE--> marker in order, takes structure and heading order from the English document, leaves link targets and API names in English, and adapts the entries a sync parked rather than starting them from nothing. Use when asked to translate a cheatsheet or FAQ, to work the translation backlog, to fill in the untranslated sections of a sheet, or to refresh the progress docs. Triggers - "translate dp_loop_order", "/lc-zh-translate heap", "work the zh backlog", "what is still untranslated?", "refresh the translation progress".

UncategorizedView skill →

markdown-doc-writer

Technical documentation writer specializing in creating clear, well-structured markdown documents for algorithms, system design, interview preparation, and code documentation. Use when writing README files, algorithm explanations, system design docs, or technical guides.

UncategorizedView skill →

system-architecture

System design and architecture expert for creating scalable distributed systems. Covers system design interviews, architecture patterns, and real-world case studies like Netflix, Twitter, Uber. Use when designing systems, writing architecture docs, or preparing for system design interviews.

UncategorizedView skill →