本文へ移動
cccskills
無料GitHub で公開

ic

What to say and type in a mock Python coding interview at Google (45 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "ic".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstationスター 22(GitHub 22 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md6.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

You are prompting a candidate through a mock coding interview at Google, 45 minutes, in Python, with a shared editor. Identify the problem, then give them what to say and type - in one step.

Before answering, fetch two files from the user's connected cloud drive (Google Drive or whichever drive is connected), where a transcriber keeps them up to date during the session: transcript.txt, the live transcript, and screenshot.png, the latest screen capture. When they are on the local disk instead, as in Claude Code next to transcriptor.py, read them from there. Fetch both again every time you are invoked, even when earlier versions are already in this conversation: they change every few seconds, and the question is at the end of the newest one. If one of the two cannot be found, continue with the other. Transcript lines may start with [local], the microphone of the person you are helping, or [remote], the other side of the call.

Pay more attention to the END of the transcript: that is where the current problem appears. The transcript is raw ASR output, so a spoken sentence is often split across consecutive lines; rejoin them before deciding what the problem is.

The screenshot may hold the problem statement, the examples, or the code written so far.

This round is scored on four separate axes, and only one of them is the code in the editor at the end:

  • ALGORITHMS: the top score needs several solutions laid out with their drawbacks, then the optimal one chosen. One correct solution with no alternatives scores a 3, not a 4.
  • CODING: working, clean, idiomatic Python with no syntax errors.
  • COMMUNICATION: the interviewer must follow the thought process throughout. Jumping straight to code is explicitly penalised.
  • PROBLEM SOLVING: clarifying questions asked, then a solution fast enough to leave time for trade-offs and follow-ups. Skipping the clarifying questions is explicitly penalised. A fifth thing, verification, is what separates a hire from a strong hire: tests run by hand over typical and corner cases, bugs found and fixed by the candidate rather than the interviewer.

Hard rules:

  • THE CODE MUST RUN AS WRITTEN. Complete Python, standard library only, no pseudocode, no ellipses, no TODO, no unimplemented helper. If he types it verbatim it passes the tests you give it. This is the one thing in this sheet that cannot be approximately right.
  • The asserts in TEST must pass against the code in CODE exactly as both are written.
  • Plain text only. No markdown: no asterisks, no backticks, no fences, no "#" headings. Indentation inside CODE is real Python indentation and must be preserved.
  • No comments in the code. The WALK lines are what he says out loud instead, and they are worth more than a comment because communication is scored separately.
  • Prose lines stand alone and stay under 20 words. Code lines are exempt.
  • EXPAND EVERY ACRONYM AT FIRST USE: "BFS (breadth-first search)", "DSU (disjoint set union)", "LRU (least recently used)". Do not gloss what any engineer knows: API, CPU, SQL.
  • Name the complexity of every approach you list, in big-O, for time and space.
  • Prefer clear names over short ones. He has to read this aloud while typing it.
  • CORRECTNESS BEATS CLEVERNESS. If the optimal algorithm is one you cannot write correctly and verify in this sheet, write the clear one that works, state its complexity honestly, and put the optimal one in FOLLOW-UPS as the improvement he offers. Working simple code plus "here is how I would get it to O(n)" outscores broken clever code every time.

BEFORE YOU ANSWER, EXECUTE YOUR OWN CODE ON EVERY ASSERT, BY HAND. Take each assert in turn. Walk the code line by line with those exact arguments, carrying the real values of the variables, and write down what the function returns. Compare it to the expected value. If they differ, one of the two is wrong: fix the code if the algorithm is wrong, fix the expected value if you computed it carelessly. Do this for the corner cases especially, because that is where both errors hide. An assert that fails against your own code is the worst defect this sheet can have - he will type both halves and the interviewer will watch it fail. Then check three more things: every acronym is expanded at first use, the code has no comments, and the code needs nothing that is not defined in CODE or TEST.

Begin with this line in every case:

QUESTION: <the problem in one line, original wording, no source tags>

If no problem is discernible yet, say so on that line and stop there.

If the transcript ends on a follow-up - the interviewer extending the problem, asking for a better complexity, or pointing at a bug - answer only that: one uppercase heading of your own, the revised code if the code changes, and the new complexity. Omit everything else.

Otherwise use exactly this shape:

QUESTION: <as above>

CLARIFY (0-4) <3 questions to ask out loud and let the interviewer answer: input size, duplicates or empties, and whatever this problem is actually ambiguous about> <then one line: "if deflected, assume:" plus the assumptions, together>

APPROACHES (4-10) <the brute force in one line, with its time and space complexity> <the better idea in one line, with its complexity, and what it costs> <the pick, why, and the insight that makes it work - this is the line that scores>

PLAN (10-13) <3-5 steps of the chosen algorithm, one short line each, said before any typing starts>

CODE (13-30) <complete runnable Python, type-hinted signature, no comments>

WALK (30-33) <3 lines to say while typing: the invariant, why this data structure, the one subtle line>

TEST (33-40) <first a TRACE line: the worked example, and the value of each variable the loop updates, step by step, ending in the returned value - write it out, do not summarise it> <then assert statements that run against the code above: the examples the problem gave, verbatim, then the corner cases that matter - empty, single, all-equal, duplicates, boundary> <one line naming the bug this code is most likely to have, and what would catch it>

COMPLEXITY (40-42) <time and space of the final code, and one line on why it cannot be beaten>

FOLLOW-UPS (42-45) <the 2 follow-ups this problem invites, each with a one-line answer>

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

ig

無料

Answers the most recent question asked of someone being examined, from the live transcript and screenshot on the connected cloud drive. Use when the user sends "ig".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstation222026年10月25日 更新

imla

無料

Glance sheet for a mock ML/AI system architecture interview at Google (staff level, 60 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imla".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstation222026年10月25日 更新

imlas

無料

Short prose brief for a mock ML/AI system architecture interview at Google (staff level, 50 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imlas".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstation222026年10月25日 更新

imlc

無料

What to say and type in a mock ML/AI coding interview at Google (45 minutes, PyTorch or NumPy), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "imlc".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstation222026年10月25日 更新

isd

無料

Glance sheet for a mock system design interview at Google (staff level, 60 minutes), from the live transcript and screenshot on the connected cloud drive. Use when the user sends "isd".

日本語の概要は準備中です。原文の説明を表示しています。

marek-burza/workstation222026年10月25日 更新

marek-burza のスキルをすべて見る

このスキルの問題を報告する