Software Engineering Fundamentals Interview Questions
Practice the exact questions companies are asking right now.
Explain what torch.distributed.barrier does
Question In PyTorch distributed training, what does torch.distributed.barrier() do? Follow-ups - Give an example of when you would use it. - What are ...
Fix race condition in concurrent deposit
Concurrent bank account debugging (thread safety) You are given a simple BankAccount object that is used concurrently from multiple threads. Two depos...
Explain Transformer, GPT vs BERT, and PR metrics
Answer the following conceptual questions: 1. Transformer architecture - Describe the main components of a Transformer block and what each part doe...
Discuss languages, packages, and tools you know
Skills and tooling question What languages, libraries/packages, and developer tools are you most comfortable with? In your answer, cover: - Primary la...
Build an Auth0-protected MCP server
Hands-on OA: Build an MCP server secured by Auth0 JWTs You are asked to build a local HTTP service that implements a minimal MCP (Model Context Protoc...
Explain C++ containers, segfaults, and virtual dispatch
Answer the following C++ conceptual questions: 1. C++ standard containers implementation For common C++ standard library containers such as std::...
Explain ACID and isolation levels
Explain what a database transaction is, define the ACID properties (Atomicity, Consistency, Isolation, Durability), and describe common transaction is...
Explain debugging methodology for production issues
In a technical interview, you are asked: > What is your methodology when debugging or when something goes wrong? Describe a systematic approach you wo...
Improve chip performance without process advances
Assume you are working on a digital chip, but the semiconductor process node and basic device technology are fixed: there is no new, faster process an...
Describe common RTL lint warnings and errors
You are writing RTL (e.g., Verilog/SystemVerilog) and run a lint tool on your code. The tool reports items such as: - "Treat as black box" - Combinati...
Explain use cases for clock synchronizers
Assume you are designing a digital system with multiple clock domains. The clocks have different frequencies and unknown phase relationships. You can ...
Design CSV upload endpoint with GPT classification
You are building a backend service that needs to process two CSV files and then call an external GPT-like API for classification. Requirements 1. HTTP...
Improve robustness of graph cycle detection code
You have written code to detect cycles in a directed dependency graph of services, where nodes represent services and edges represent dependencies bet...
Design a multithreaded event logger
Design a multithreaded in-memory event logger for a server application. Requirements: - Many worker threads running in the process need to log events ...
Explain worker state machine load balancer design
You are designing a lightweight load balancer for a Python-based backend service that dispatches tasks to a pool of worker processes. Describe how you...
Compare JavaScript == and === operators
In JavaScript, what is the difference between the == and === operators? Explain: 1. How each operator compares two values. 2. What type coercion is an...
Explain the MVC architectural pattern
Explain the Model–View–Controller (MVC) architectural pattern. Include in your answer: 1. What each component is responsible for: - Model - View...
Explain C++ alignment and ABI stability
You are interviewing for a senior C++ / systems role. The interviewer asks two low-level fundamentals questions: 1. C++ memory alignment and padding ...
Explain JS threading and useState vs useRef
Answer the following conceptual questions about JavaScript and React: 1. JavaScript and multithreading - How does JavaScript's execution model wo...
Design article voting and flip-tracking system
Design an object-oriented "Article System" that supports voting and query operations. You need to design the data model and core APIs (including metho...