Coding Interview Questions

63 questions available. Practice with AI-powered feedback.

Other rounds

coding
Salesforce
Amazon
Google

Salesforce Coding: Left-Right Occurrence Binary Strings

Salesforce coding: build left/right occurrence binary strings for an integer array. Learn hash-table two-pass solutions, time/space tradeoffs and follow-up ideas.

Software Engineer, Backend EngineerEntry Level
ml coding
Meta
Facebook

Scaled Self-Attention Implementation — Meta

Implement scaled self-attention for Transformers: compute attention outputs and per-query weights from Q, K, V with masking and numerical-stability. Try coding

Machine Learning Engineer, ML EngineerEntry Level
online assessment
Pinterest
Meta
Amazon

Sliding Window Centered Monotonicity - Pinterest OA

Find indices whose radius-k centered window is inside nums and strictly decreases outward. See O(n) sliding-window/two-pointer approach and edge-case tips.

Software Engineer, Backend EngineerEntry Level
coding
Snapchat
TikTok
Meta

Snapchat Coding Interview: Cache with TTL & Capacity

Learn how to implement a cache with TTL and fixed capacity (Snapchat-style). Understand expiration, eviction on insert, and testable get/set semantics—practice now.

Software Engineer, Backend EngineerEntry Level
ml coding
Snapchat
Snap Inc.

Snapchat ML Coding: K-Means + MapReduce Implementation

Prepare for Snapchat ML coding: implement deterministic K-means (centroids & assignments) and adapt it to MapReduce with mapper/reducer scripts. Learn iteration & stop rules.

Machine Learning Engineer, ML EngineerMid Level
coding
Stripe
PayPal
Square

Stripe Coding Interview: Match Payments to Invoices

Deterministic matching of payments to invoices using identifier, exact, then range rules. Tie-breakers and earliest due-date ordering for stable results.

Software Engineer, Backend EngineerEntry Level
coding
Tesla
Google
Amazon

Tesla Coding Interview: Priority Expiry Cache Eviction

Implement evictItem() to remove one cache entry: expired first, then lowest priority, then LRU ties. Read steps, edge cases, and quick follow-ups.

Software Engineer, Backend EngineerEntry Level
ml coding
Tesla
Waymo
Nvidia

Tesla ML Coding Interview: 2D Conv Layer Forward in NumPy

Implement a 2D convolution forward pass in NumPy for channel-first inputs. Learn shape math, padding/stride handling, tests, and optimization tips. Try it now.

Machine Learning Engineer, ML EngineerEntry Level
coding
Walmart Labs
Walmart

Top-K in Time Window - Coding Question, Walmart Labs

Walmart Labs coding question: implement record/query for Top-K items in a time window, add eviction, handle late arrivals, and bounded-timestamp optimizations.

Software Engineer, Backend EngineerEntry Level
ml coding
Google
YouTube

Top-k Video Similarity Search - Google ML Coding Interview

Top-k videos by multiplicative path similarity on a weighted directed graph. Also covers adapting to sharded/remote adjacency with API constraints. Includes tips.

Machine Learning Engineer, ML EngineerMid Level
coding
OpenAI
DeepMind
Anthropic

Type Signature Serialization & Inference — OpenAI

Design deterministic type-signature serialization, implement Node/Function types, and infer named type variables to concrete types. Read examples and edge cases.

Software Engineer, Backend EngineerEntry Level
coding
Uber
Lyft
Google

Uber Coding Question: Cheapest Flight Within K Stops

Solve Uber's Cheapest Flight Within K Stops problem. Learn modified Dijkstra, BFS and DP approaches, complexity trade-offs, and interview tips. Try it now.

Front-End Engineer, Software EngineerEntry Level

Get More Real Coding Questions

Practice coding interview questions with AI-powered hints, analysis, and feedback.

Start Free Practice
Coding Interview Questions | Voker