Whiteboard and Chromebook Coding Proficiency Questions
Coding interview readiness focusing on solving algorithmic problems on a whiteboard or in a minimal IDE/terminal environment (e.g., Chromebook). Emphasis is on problem-solving approach, data structures and algorithms, time and space complexity analysis, correct and efficient implementation under constraints, and effective communication of thought process during interviews.
HardTechnical
68 practiced
Implement efficient top-k and nucleus (top-p) sampling for autoregressive generation in Python pseudocode. Given a list of token log-probabilities, show how to apply temperature scaling, compute top-k truncation or the smallest prefix whose cumulative probability >= p (nucleus), and sample from the resulting truncated distribution in a numerically-stable way.
MediumTechnical
54 practiced
Implement serialize(root) and deserialize(data) functions for a binary tree in Python using preorder traversal. The serialized format should be a printable string (e.g., comma-separated with null markers like '#'). Provide code suitable for a whiteboard, explain correctness, and discuss handling of edge cases like empty trees.
HardTechnical
53 practiced
Provide Python-like pseudocode to implement blocked/tiled matrix multiplication C = A x B that improves cache locality. Explain why blocking helps on CPU/Chromebook architectures, how tile size affects reuse, and how to choose tile sizes relative to L1/L2 cache to maximize performance.
HardTechnical
101 practiced
Implement wildcard matching is_match(s: str, p: str) -> bool supporting '?' (matches any single character) and '*' (matches any sequence, including empty) using dynamic programming. Provide an O(nm) time DP solution and then optimize to O(min(n,m)) space. Give whiteboard-friendly code and explain transitions.
MediumTechnical
61 practiced
Implement naive 1D convolution conv(signal: List[float], kernel: List[float]) -> List[float] in Python for full convolution (output length = len(signal)+len(kernel)-1). Provide code suitable for a whiteboard and then explain when and how to use FFT-based convolution for large inputs and the trade-offs (accuracy, performance) on CPU-limited devices.
Unlock Full Question Bank
Get access to hundreds of Whiteboard and Chromebook Coding Proficiency interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.