practice a little every day, paws crossed ♡
Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 3631–3640 of 3640 results
- xAIMediumSoftware EngineerMake a Racy BankAccount Deposit Thread-Safe Without Editing the Class, in Python and Go
A concurrency question built around a BankAccount class whose deposit method reads the balance, sleeps, then writes it back. Candidates find every race, make deposits thread-safe through a subclass or wrapper without editing or copying the class, and carry the fix over to Go, which has no inheritance.
Software Engineering FundamentalsOnsite - xAIMediumSoftware EngineerMinimum Time to Run All Jobs with a Cooldown Between Identical Jobs
This question evaluates understanding of scheduling constraints, frequency analysis, and time-complexity reasoning required to minimize total execution time under per-type cooldown restrictions.
Coding & AlgorithmsOnsite - xAIEasySoftware EngineerPhone Keypad Predictive Text Suggestions
This question evaluates understanding of string-to-digit encoding, prefix-based retrieval, and efficient preprocessing for fast query-time lookup in large dictionaries.
Coding & AlgorithmsOnsite - xAIMediumFrontend EngineerPlan a Project Across Customers and Partner Teams
Plan a cross-team customer project through outcome clarification, dependency ownership, milestone evidence, uncertainty, scope tradeoffs, and clear stakeholder communication.
Product / Decision MakingOnsite - xAIMediumFrontend EngineerRender Nested JSON in a Code-Style Viewer
Render nested JSON safely in React with indentation, type styling, collapsible containers, empty values, and explicit boundaries between a viewer and an editor.
Software Engineering FundamentalsOnsite - xAIMediumSoftware EngineerSort a Large Array Using Multiple Threads
This question evaluates understanding of concurrent programming, parallel algorithm design, sorting algorithms, and merging techniques under multi-threaded execution, focusing on thread-safety, deterministic correctness despite scheduling variability, and performance trade-offs.
Coding & AlgorithmsOnsite - xAIMediumSoftware EngineerThree Exceptional Achievements, a Recent-Projects Pitch, and a Project Deep Dive
A behavioral preparation set built around project storytelling: write three one-to-two-sentence exceptional achievements, give a five-minute overview of recent projects, and present a 30-minute project deep dive followed by detailed technical questioning. It tests concise impact, ownership and depth.
Behavioral & LeadershipOnsite - xAIMediumSoftware EngineerVersioned Key-Value Store with Nested Transactions (Begin, Commit, Rollback)
This question evaluates understanding of transactional state management, nested transactions, visibility semantics for set/delete operations, and efficient in-memory data-structure manipulation.
Coding & AlgorithmsOnsite - xAIMediumFrontend EngineerWalk Through a Past Frontend Project: Problems Solved and Tech Stack Choices
A behavioral question from a project and product management round for a frontend role: describe a problem you hit on a past project and how you solved it, then explain how you chose the tech stack. It tests structured storytelling, trade-off reasoning, and decisions tied to product needs.
Behavioral & LeadershipOnsite - xAIMediumSoftware EngineerWeighted LRU Cache: Capacity Counted by Item Quantity
This question evaluates understanding of cache design and LRU eviction semantics with weighted resource accounting, plus data-structure and amortized-complexity reasoning needed to support O(1) average-time operations.
Coding & AlgorithmsOnsite