Interview Prep GuidePublic

General Software Engineer Interview Prep Guide

Everything General actually asks Software Engineer candidates — concept walkthroughs, worked examples, and the real interview questions, drawn from candidate reports. Free to read.

Last updated

General Software Engineer Interview Cheatsheet cover

Focus most on system design: you rated System Design 1/5 and have no solved/viewed engagement signals there, so distributed reliability and message queues get the most space. Review Software Engineering Fundamentals more lightly because you rated it 4/5; Java OOP, heaps, and OOD/state-machine basics stay brief. For General, there are no narrow company-specific addenda; the highlighted General-relevant concepts are scalable distributed design, reliability tradeoffs, and async producer-consumer systems. With one month, use this as a roughly 45-minute first-pass cheatsheet, then spend most follow-up practice on system-design drills while keeping coding patterns warm.

Technical Screen — 11 min

Coding & Algorithms

  • LRU Cache — covered in depth under Other below.

  • Sliding Window And Two Pointers — covered in depth under Other below.

Other — 34 min

System Design

Focus area — You rated System Design 1/5 with no engagement signals, so async producers, consumers, retries, and backpressure need emphasis.

Editorial architecture diagram comparing a work queue and durable event stream, showing partitions, replication, offsets, retries, backpressure, and dead-letter handling.

What's being tested

These designs test whether you can turn throughput, latency, ordering, durability, and delivery guarantees into explicit system requirements and then map them to storage, partitioning, replication, and consumer-state decisions. You should be able to reason about failures—broker loss, consumer crashes, retries, duplicates, poison messages, and backpressure—without claiming stronger guarantees than the implementation provides. General cares because reliable event-driven services support billing, notifications, workflows, and operational automation where lost or duplicated events can create user-visible or financial harm.

Core knowledge
  • Queue versus event stream: A work queue usually removes or hides a message after acknowledgement, while a stream retains an ordered log for a configured period so multiple consumer groups can replay independently. Kafka is stream-oriented; SQS is queue-oriented.
  • Partitioning converts one topic into independent ordered lanes. Hash a stable key such as account_id to preserve per-account order, but recognize that a hot key can overload one partition; global ordering sacrifices throughput and availability.
  • Offsets identify a consumer’s position, typically per partition. Commit an offset only after successful processing; committing first risks loss, while processing first risks duplicates after a crash. Store offsets durably and make handlers idempotent.
  • Delivery semantics are usually at-most-once, at-least-once, or effectively-once. True end-to-end exactly-once is difficult across external side effects; prefer an idempotency key, deduplication table, or transactional outbox over presenting “exactly once” as a broker-only feature.
  • Replication and durability require a leader plus followers or quorum writes. Acknowledging after one local disk write minimizes latency but risks loss; waiting for a majority improves durability. Define behavior when replicas lag, leaders fail, or an availability zone disappears.
  • Consumer backpressure prevents a fast producer from overwhelming slow consumers. Bound in-memory buffers, expose lag, pause or throttle fetches, and apply admission control; an unbounded queue merely converts overload into an eventual out-of-memory failure.
  • Retries and poison messages need bounded attempts, exponential backoff with jitter, and a dead-letter queue. Preserve the original payload and failure metadata, distinguish transient from permanent errors, and avoid retry storms that amplify an outage.
  • Throughput and latency should be estimated quantitatively: required partitions are roughly ⌈peak messages/sec/ sustainable messages/sec per partition⌉\lceil \text{peak messages/sec} / \text{ sustainable messages/sec per partition} \rceil, then increased for consumer parallelism and failover headroom. Track p50, p95, and p99, not averages alone.
  • Time-window aggregation maintains counters keyed by dimensions and window, such as (campaign, minute). Tumbling windows are simple; sliding windows cost more state. Late events require a lateness policy, watermark, correction, or reconciliation job rather than silently corrupting billing.
  • Scheduling delayed work commonly uses a durable min-heap, timing wheel, or bucketed time index. A timing wheel offers near-O(1)O(1) scheduling for bounded precision; shards and leases let multiple workers claim due tasks without double execution.
  • Ordering and concurrency must be stated precisely: total topic order, partition order, per-key order, or no order. Parallel consumers improve throughput but can complete messages out of order; sequence numbers or per-key serial execution are needed when order matters.
  • Observability and operations include publish latency, broker disk utilization, consumer lag, retry rate, dead-letter volume, rebalance duration, replication lag, and oldest-message age. Alert on customer-impacting symptoms, and design retention, replay, schema evolution, and capacity expansion before production traffic arrives.
Worked example: Design a distributed message queue

I would first clarify peak and sustained publish/consume rates, message size, retention, acceptable loss, ordering scope, delivery semantics, replay needs, and whether consumers belong to independent groups. I would declare an initial design of topics split into hash-partitioned logs, replicated across availability zones, with producers receiving acknowledgements after a configurable durability quorum. I would organize the answer around four pillars: broker storage and partition leadership, producer routing and acknowledgements, consumer offsets and retry handling, and observability plus operational recovery. Each consumer group would track a separate offset per partition, allowing independent replay while preserving order within a partition. I would explicitly choose at-least-once delivery and require idempotent consumers because broker-level exactly-once cannot cover arbitrary database or API side effects. I would discuss rebalancing, bounded fetch buffers, lag-based autoscaling, dead-letter handling, and retention-based replay. A key tradeoff is partition count: more partitions increase parallelism and failover flexibility but add metadata, coordination, and ordering complexity. I would close by saying that, with more time, I would load-test partition throughput, model zone-loss behavior, and specify the schema/versioning and migration strategy.

A second angle

For Design an ad click event aggregation system for real-time reporting and billing, the central issue shifts from replayable delivery to correct aggregation under duplicates, late arrivals, and financial reconciliation. I would separate the immutable click stream from materialized minute, hour, and day aggregates, using event IDs for deduplication and durable state for recovery. Dashboard freshness may tolerate approximate or eventually corrected values, while billing needs an auditable ledger and deterministic recomputation path. The design should therefore expose correction windows and reconciliation rather than treating a low-latency counter as the authoritative financial record.

Common pitfalls

Pitfall: Saying “exactly once” because the broker commits offsets transactionally is analytically incomplete; external database writes, HTTP calls, and crashes between side effects still create duplicates. State the end-to-end boundary and use idempotency or an outbox/inbox pattern.

Pitfall: Jumping straight to Kafka, partitions, and replication without clarifying throughput, retention, ordering, or loss tolerance makes the design sound memorized. Lead with requirements and name which guarantee each component provides.

Pitfall: Treating retries, rebalancing, and backpressure as implementation details misses the failure behavior interviewers probe. Explain what happens when a consumer dies mid-handler, a partition becomes hot, or downstream processing is slower than ingestion.

Connections

Expect pivots to consistent hashing, leader election, quorum replication, and idempotent API design. The interviewer may also connect this topic to the transactional outbox, change data capture, stream processing, schema evolution, and SLO-based capacity planning.

Further reading

Practice questions

Focus area — System Design is your lowest self-rating at 1/5, so scoping, scaling, reliability, and tradeoffs get extra space.

Editorial architecture diagram showing a scalable, reliable distributed system with API, services, cache, queue, replicated data, idempotent writes, and graceful degradation.

What's being tested

These designs test whether you can decompose a distributed product into clear services, APIs, data models, and failure boundaries while reasoning about scale, latency, consistency, and recovery. The interviewer is probing for practical use of replication, partitioning, caching, queues, idempotency, conflict resolution, and backpressure—not a list of fashionable technologies. General cares because customer-facing insurance and financial workflows must remain available during traffic spikes while preserving correctness, auditability, and safe degradation.

Core knowledge
  • Requirements framing separates functional requirements from non-functional targets: define operations, read/write ratios, expected concurrency, durability, availability, latency percentiles, retention, and failure assumptions before choosing components. Ask whether stale reads, dropped events, or temporary unavailability are acceptable.

  • Capacity planning converts users into load: QPS≈active users×requests per usertime windowQPS \approx \frac{\text{active users} \times \text{requests per user}}{\text{time window}}, then size for peak and headroom. Estimate bandwidth as streams or records per second times payload size; calculate storage from retention, replication factor, and growth.

  • Partitioning distributes load by a stable key such as user_id, document_id, or stream ID. Hash partitioning balances traffic, while range partitioning supports ordered scans; both can create hot keys, so use logical shards, adaptive splitting, or salted keys where necessary.

  • Replication improves availability and read throughput but introduces lag and failover complexity. A leader–follower database simplifies writes and ordering; multi-leader or leaderless designs improve write locality but require conflict resolution and careful quorum reasoning.

  • Consistency must match the operation. Strong consistency is appropriate for wallet balances and committed document versions; eventual consistency is often acceptable for viewer counts, presence, or cache reads. State the invariant explicitly—for example, debits must never make an account balance incorrect.

  • Idempotency makes retries safe when clients or queues resend requests. Accept an idempotency key, persist the key with the resulting status and response, and enforce a uniqueness constraint in the same transaction as the side effect; never rely only on an in-memory deduplication set.

  • Ordering and delivery require explicit guarantees. Kafka-style partitions preserve order only within a partition, while at-least-once delivery means consumers must tolerate duplicates. Use sequence numbers, transactional state updates, or an inbox/outbox pattern rather than claiming global exactly-once behavior casually.

  • Caching reduces database load but creates staleness and invalidation problems. A distributed cache such as Redis can use consistent hashing, replication, TTLs, LRU eviction, request coalescing, and stale-while-revalidate; protect against cache stampedes with jittered TTLs and per-key locking.

  • Real-time synchronization needs a connection layer, usually WebSockets or server-sent events, plus durable state behind it. Presence is ephemeral and can use heartbeats with expiry; document edits need operation IDs, version numbers, and either Operational Transformation or CRDTs for concurrent updates.

  • Backpressure prevents overload from cascading across services. Bound queues, limit concurrency, reject or shed low-priority work, apply exponential backoff with jitter, and expose queue age; an unbounded queue merely converts immediate failure into delayed failure and memory exhaustion.

  • Failure handling should cover timeouts, retries, circuit breakers, health checks, leader loss, partial network partitions, and regional outages. Retries must be bounded and used only for retryable errors; otherwise synchronized clients can create a retry storm that worsens the incident.

  • Durability and recovery require write-ahead logging, snapshots, backups, and tested restore procedures. Define RPO (maximum acceptable data loss) and RTO (maximum recovery time), then verify them with failover drills rather than treating replication as a backup.

  • Observability connects behavior to cause through metrics, structured logs, and distributed traces. Track p50, p95, and p99 latency, error rate, saturation, replication lag, queue depth, cache hit rate, and dropped or duplicated events; alerts should reflect user-visible symptoms and important invariants.

Worked example: Design a Digital Wallet (Venmo, Cash App)

A strong opening would clarify whether the wallet supports peer transfers only or also bank rails, the expected transaction volume, settlement latency, currencies, fraud-review states, and the required balance correctness and availability targets. I would declare that financial correctness and auditability take priority over accepting writes during an unavailable dependency, and organize the design around APIs, a double-entry ledger, transfer orchestration, and reconciliation. The ledger would be append-only, with immutable debit and credit entries whose sum explains every balance change; a materialized balance can accelerate reads but must be rebuilt from the ledger. Each transfer would carry an idempotency key and move through an explicit state machine such as pending, posted, failed, or reversed. A database transaction would enforce uniqueness and atomically create the transfer record plus ledger entries, while an outbox would publish downstream notifications reliably. I would call out the tradeoff between a single strongly consistent ledger database and a horizontally partitioned ledger: partitioning scales further but makes cross-account transfers and atomic invariants substantially harder. External bank calls would be asynchronous, retryable, and reconciled against provider statements rather than assumed successful after a timeout. If I had more time, I would detail authorization, fraud holds, multi-region failover, backup restoration, and operational repair tools.

A second angle: Design a Collaborative Document Editor

The same decomposition applies to a collaborative editor, but the central constraint shifts from financial invariants to low-latency convergence under concurrent writes. I would separate durable document operations and snapshots from the WebSocket fanout and ephemeral presence service. Every edit needs a client or server operation ID, an ordering/version model, and a reconnect protocol so offline clients can replay safely. The key choice is Operational Transformation versus CRDTs: transformation can be efficient with a central sequencing service, while CRDTs simplify decentralized/offline merging at the cost of metadata and implementation complexity. I would also define snapshot compaction and bounded history so replay time does not grow without limit.

Common pitfalls

Pitfall: Saying “use eventual consistency everywhere” ignores correctness boundaries. A stronger answer classifies state explicitly: wallet postings and committed document versions require strict coordination, while viewer counts, presence, and cache values can tolerate staleness.

Pitfall: Jumping directly to Kafka, Redis, or microservices without first stating traffic, latency, and failure assumptions makes the design sound arbitrary. Explain which bottleneck or guarantee each component addresses, and name what happens when it is unavailable.

Pitfall: Claiming “exactly-once delivery” or “no data loss” without defining scope is a depth mistake. Describe the actual mechanism—idempotent consumers, transactional outbox, durable acknowledgments, backups—and state the remaining failure window or operational limitation.

Connections

An interviewer may pivot to CAP tradeoffs, quorum reads and writes, and multi-region consistency, or to API versioning, schema evolution, and zero-downtime migrations. They may also probe load testing, chaos testing, incident response, and security controls such as authentication, authorization, encryption, and audit logs.

Further reading

Practice questions

Coding & Algorithms

Coding is 3/5 and LRU is a common screen pattern, so keep one solid implementation pass.

Editorial diagram of an LRU cache: a hash map points to nodes in a doubly linked list ordered from least to most recently used, with a hit moving a node to MRU.

What's being tested

This tests the LRU cache pattern: combining a hash map with a doubly linked list to support get and put in O(1) time. You must preserve both key-value lookup and recency ordering while correctly handling updates, eviction, capacity limits, and empty states.

Patterns & templates
  • Hash map + doubly linked list — map keys to nodes; list order is least-recently-used to most-recently-used.

  • Use sentinel head and tail nodes to eliminate boundary branches when removing or inserting list nodes.

  • get(key) returns -1 or the agreed absence value; on a hit, detach the node and move it to the MRU end.

  • put(key, value) updates existing nodes without increasing size; otherwise insert at MRU, then evict the LRU node if over capacity.

  • Factor helpers such as remove(node) and insert_at_front(node); each performs constant pointer updates and keeps invariants centralized.

  • Target O(1) average time for both operations and O(capacity) space; never scan the list to find keys.

  • Clarify capacity 0, repeated keys, repeated reads, missing keys, and whether values may be null or mutable objects.

Common pitfalls

Pitfall: Updating a key without moving it to MRU makes eviction order incorrect; every successful access must refresh recency.

Pitfall: Removing the LRU node from the list but not the map leaves stale entries and breaks size accounting.

Pitfall: Claiming O(1) while using an array, singly linked list, or linear search for eviction violates the required complexity.

Practice these

The practice cards below cover the canonical variants — solve all of them and time yourself.

Practice questions

Your Coding rating is mid-level and there are no solved signals, so maintain steady practice on this high-frequency pattern.

A six-frame trace shows a sliding window expanding and shrinking to preserve a sum constraint, followed by sorted two pointers moving inward to find a target sum.

What's being tested

These problems test sliding-window and two-pointer reasoning: maintaining a valid contiguous range or exploiting sorted order without redundant work. You should demonstrate correct boundary movement, appropriate state structures, and O(n) time with O(1) or O(n) auxiliary space where applicable.

Patterns & templates
  • Fixed-size sliding window — initialize the first k elements, update by adding right and removing left; compute each result in O(n) time.
  • Variable-size window — expand right, then advance left while invalid; record the best valid window after restoring the invariant.
  • Last-seen index map — for repeated characters or values, jump left to max(left, last[value] + 1) so it never moves backward.
  • Monotonic deques — maintain decreasing maxima and increasing minima for limit-constrained windows; each element enters and leaves once, giving O(n) time.
  • Sorted two pointers — start at both ends; if the sum is too small move left, if too large move right, using O(1) extra space.
  • Window bounds — use inclusive indices consistently: length is right - left + 1; remove elements only when they leave the window.
  • Rounding and arithmetic — retain an exact running sum, then round each average at output time; handle fewer-than-window-size inputs explicitly.
Common pitfalls

Pitfall: Moving left directly to a stale duplicate index can move it backward; always use max(left, last_seen[value] + 1).

Pitfall: Removing from a deque or set without checking whether the outgoing index/value is still represented can corrupt window state.

Pitfall: Assuming two pointers works on an unsorted array; sorting changes original positions and may violate required index or constant-space constraints.

Practice these

The practice cards below cover the canonical variants — solve all of them and time yourself.

Practice questions

This is core interview glue for many problems; your 3/5 Coding rating makes it worth a normal review.

Editorial hash-table diagram showing keys hashed into buckets, a collision chain, frequency counting, set membership, and expected versus worst-case lookup time.

What's being tested

These problems test hash-based lookup, frequency counting, deduplication, and deriving compact keys that avoid quadratic pairwise comparisons. You should connect the data structure choice to constraints, state average versus worst-case complexity, and handle ordering, duplicate, collision, and edge-case requirements precisely.

Patterns & templates
  • Frequency map — count occurrences with a dictionary; use parity (count % 2) for palindrome feasibility in O(n) time and O(k) space.
  • Set membership — track seen values or coordinate pairs for expected O(1) lookup; use a separate output set when duplicates must be returned once.
  • Derived-key grouping — replace pairwise comparisons with wildcard keys, such as removing one digit position; aggregate counts in O(nL) for n strings of length L.
  • Vertical symmetry — candidate mirror is minX + maxX; verify (2 * mirrorX - x, y) exists for every point, preserving multiplicity if points may repeat.
  • Hash-table mechanics — explain hashing, collisions via chaining or open addressing, load factor, resizing, and expected O(1) search versus O(n) worst case.
  • Ordering requirements — hash structures do not guarantee sorted output; sort distinct results afterward, costing O(d log d) for d returned values.
Common pitfalls

Pitfall: Checking only whether a value exists misses frequency requirements; distinguish “appears more than once” from “appears at least once.”

Pitfall: Claiming hash lookup is always O(1) ignores collisions, adversarial inputs, and resizing; say expected O(1) with O(n) worst case.

Pitfall: Generating every pair of strings or points creates O(n²) work; derive keys or use complementary lookups instead.

Practice these

The practice cards below cover the canonical variants — solve all of them and time yourself.

Practice questions

No special DP weakness was stated, but Coding is 3/5, so review state definitions and recurrences normally.

A five-step visual trace shows Fibonacci recursion revisiting the same states, memoization caching them, and bottom-up dynamic programming filling one table.

What's being tested

These problems test dynamic programming: defining a state, deriving a recurrence, choosing correct base cases, and evaluating overlapping subproblems efficiently. You must distinguish ordered versus unordered counting, unlimited versus single-use choices, and state dimensions such as position, capacity, or transaction count.

Patterns & templates
  • One-dimensional counting DP: dp[sum] += dp[sum - value]; iterate candidate values inside the sum loop when order should not matter.
  • For ordered sequences, iterate totals first and choices second; dp[target] = Σ dp[target - x], with dp[0] = 1.
  • Subsequence counting uses dp[i][j] for source/target prefixes: match contributes take-or-skip; time O(mn), space reducible to O(n).
  • 0/1 knapsack uses take-or-skip; iterate capacity downward in a one-dimensional table to prevent reusing an item.
  • Memoization caches recursive states only when first visited; typically changes exponential recursion to O(number of states × transitions).
  • Stock trading can use constant-size state compression: track cash/hold after each of two completed transactions, handling buy-before-sell ordering.
  • Use 64-bit counts where results can exceed 32-bit limits; define unreachable states carefully and state whether modulo arithmetic is required.
Common pitfalls

Pitfall: Reversing loop order changes whether permutations count separately or whether each item can be reused.

Pitfall: Setting dp[0] = 0 breaks counting recurrences; the empty sequence is usually one valid way to form sum zero.

Pitfall: Claiming memoization is always O(n) without identifying the state dimensions, transition count, and memory usage.

Practice these

The practice cards below cover the canonical variants — solve all of them and time yourself.

Practice questions

Software Engineering Fundamentals

Light review — You rated Software Engineering Fundamentals 4/5 and did not request an OOD round, so focus on a compact refresher.

What's being tested

These problems test low-level object-oriented design: identifying domain objects, assigning responsibilities, preserving invariants, and exposing APIs that remain easy to extend. They also probe state-machine modeling, especially explicit transitions, guarded actions, timers, and exceptional overrides rather than scattered conditionals. General cares because billing, scheduling, games, and operational controls all require correctness, auditability, and maintainable business rules; a small modeling mistake can create incorrect charges, double bookings, or unsafe state transitions.

Core knowledge
  • Responsibility-driven design separates entities from services: Board owns placement and shots, Ship owns hit state, and a controller coordinates transitions without becoming a god object. Keep mutation near the invariant it protects.

  • A state machine consists of states, events, guards, and actions. Represent legal transitions explicitly, such as GREEN --timer--> YELLOW; reject invalid events instead of silently mutating state.

  • Use invariants as the design’s backbone: ships cannot overlap, bookings cannot overlap, exactly one traffic direction may be green, and a sunk ship has all segments hit. Validate invariants at mutation boundaries.

  • For intervals, use half-open ranges [start,end)[start, end); two bookings overlap exactly when a.start < b.end && b.start < a.end. This permits adjacent meetings and avoids ambiguous endpoint semantics.

  • Model value objects such as Money, TimeRange, Path, and Coordinate with validation, equality, and immutable fields. A Money object should prevent mixing currencies and avoid floating-point rounding errors.

  • For tiered billing, calculate each usage band’s contribution independently: charge=∑imax⁡(0,min⁡(u,upperi)−loweri)⋅ratei\text{charge}=\sum_i \max(0,\min(u,\text{upper}_i)-\text{lower}_i)\cdot\text{rate}_i. Define whether boundaries are inclusive and what happens beyond the final tier.

  • Prefer Strategy Pattern for replaceable policies such as file filters, pricing plans, or recurrence rules. A filter interface like matches(file) makes AND composition explicit and prevents a growing conditional chain.

  • Use Composite Pattern for directory trees: both files and directories expose a common searchable structure, while recursive traversal returns matching files. Sort results at the API boundary for deterministic behavior.

  • Separate commands from queries: book, cancel, shoot, and advanceTime mutate state; availability, find, and status observe it. This makes tests clearer and prevents read methods from unexpectedly changing state.

  • Treat time as a dependency through a clock abstraction or explicit advanceTime(now) input. Never rely on wall-clock calls inside transition logic; deterministic time is essential for testing phase boundaries and recurring schedules.

  • For recurring bookings, expand occurrences over the requested horizon, validate all conflicts first, then commit atomically. This gives all-or-nothing behavior: a recurrence cannot partially reserve a room after one occurrence conflicts.

  • Define idempotency for repeated commands. A repeated shot should return a stable result without damaging counts; repeated cancellation should have a documented outcome such as ALREADY_CANCELLED or a no-op.

Worked example

For “Design a four-way traffic signal controller with timed phases and emergency overrides”, I would first clarify whether the controller is a simulation or real-time component, whether timings are fixed, whether north-south and east-west are paired, and what emergency behavior means for active vehicles. I would declare a deterministic simulation assumption: advanceTime(delta) drives transitions, normal operation alternates paired directions, and emergency mode has explicit entry and exit semantics. I would organize the design around four pillars: immutable phase/value objects, a controller state machine, timer and transition handling, and safety invariants plus tests. A TrafficController would own the current mode and phase, while a Phase records direction, color, and remaining duration; transition logic would reject unsafe combinations such as two conflicting greens. I would model emergency override as a separate mode or guarded transition rather than a boolean checked throughout every method. The key tradeoff is whether emergency behavior immediately changes lights or first enters an all-red clearance phase: immediate response is faster, while clearance is safer and easier to specify. I would test exact-boundary advances, large time jumps, repeated emergency requests, and emergency exit into a known safe phase. If I had more time, I would add an event log and property-based tests asserting that conflicting directions are never simultaneously permissive.

A second angle

For “Design a meeting room scheduler with conflict detection and recurring weekly bookings”, the same state-and-invariant thinking applies, but the central challenge is temporal data rather than sequential phases. The scheduler’s states are closer to resource occupancy: a booking can be active or cancelled, and each occurrence must satisfy the interval invariant. The important design choice is whether recurring meetings are stored as rules or materialized occurrences; rules save space, while materialization simplifies conflict queries and cancellation. Clarify timezone, daylight-saving behavior, recurrence horizon, and whether cancellation affects one occurrence or the entire series. The API should validate the complete operation before mutating stored bookings.

Common pitfalls

Pitfall: Treating state as a collection of booleans, such as isGreen, isEmergency, and isYellow, permits impossible combinations. A better answer uses an explicit enum/state object and centralized transition rules with invariants.

Pitfall: Saying “I’ll create classes for everything” is not a design explanation. Name ownership and mutation boundaries: who validates overlap, who records hits, who calculates charges, and which object coordinates the workflow.

Pitfall: Hand-waving edge cases—exact timer boundaries, repeated shots, adjacent intervals, partial recurring-booking failure, currency rounding—signals shallow implementation depth. State the policy, encode it in one place, and describe a test for it.

Connections

The interviewer may pivot to SOLID principles, especially Single Responsibility and Open/Closed, or to design patterns such as Strategy, Composite, and State. They may also ask about immutability, dependency injection, property-based testing, serialization of state, or concurrency control when multiple callers mutate the same in-memory model.

Practice questions

Frequently asked questions

What does the General Software Engineer interview process look like?

Based on candidate reports compiled in this guide, the General Software Engineer loop typically includes 2 stages: Technical Screen, Other. Each stage covers a distinct set of topics walked through in detail above.

What topics does General focus on in Software Engineer interviews?

General Software Engineer interviews cover Coding & Algorithms, System Design, Software Engineering Fundamentals. The guide above breaks each topic down into core concepts, worked examples, and the real questions candidates were asked.

Which concepts are most important for the General Software Engineer interview?

Focus areas for the General Software Engineer interview include Message Queues And Event Streams, Distributed System Design, Scalability, And Reliability. These are tagged "Focus area" in the guide above based on frequency in candidate reports.

How many real General Software Engineer interview questions are in this guide?

This guide is anchored to 14 real General Software Engineer interview questions sourced from candidate reports, each linked to a full practice page with starter code, solution discussion, and community comments.

More free, in-depth prep curated from real candidate reports.