Samsung interview questions & answers

20 real Samsung interview questions with full model answers — Technical, Product & growth, Behavioral, System design. Drawn from the same verified bank ChannelPulse drills from (160 Samsung questions in total).

BehavioralEasySamsungSoftware EngineerTechnical Round

1. Can you explain your project briefly?

Model answer

  1. Situation — One project I’d highlight is [project name], where I worked on [product or service] for [users or internal teams]. The project mattered because [specific user or business problem], and the main constraint was [time, reliability, scale, or compatibility].
  2. Task — I owned [specific component or outcome]. My goal was to deliver [measurable target] without compromising [important constraint].
  3. Action
  • I first clarified the user journey and translated the problem into a small set of requirements, including [key functional requirement] and [quality requirement].
  • I designed [your solution or component], choosing [technology or approach] because [reason]. For example, [brief concrete design decision] helped address [specific challenge].
  • I broke the work into milestones and coordinated with [teammates, product, QA, or another team]. When we disagreed about [trade-off], I compared the options using [evidence, prototype, or test] and aligned the team on [decision].
  • I added [tests, monitoring, or failure handling] and used [staged rollout, code review, or user feedback] to reduce release risk.
  • When [a problem or unexpected result] appeared, I [what you personally did], then shared the finding so the team could adjust [implementation or plan].
  1. Result — We delivered [outcome], improving [metric] from [baseline] to [result] or meeting [specific target]. The work also [team or customer impact]. I learned to make trade-offs explicit early and validate them with evidence; that’s an approach I’d bring to products used across Samsung’s devices and services.
BehavioralMediumSamsungEngineering Manager

2. Describe a difficult situation at work, how you resolved it, and what you would do if you faced a similar situation at Samsung.

Model answer

Situation

On a cross-functional release, our team depended on an integration from another group, and its delivery date began to slip. The release was important to a customer commitment, but rushing the integration without adequate validation could have caused a production issue. I was responsible for coordinating the engineering work and keeping stakeholders aligned.

Task

I needed to protect product quality while giving the team a credible delivery plan. The tension was between meeting the date and making a safe, evidence-based release decision.

Action

  • I first spoke separately with the partner lead and my engineers to understand the actual blockers, rather than treating the missed date as a motivation problem. We found that the interface contract had ambiguous error behavior, which was creating rework.
  • I brought the teams together to agree on a minimal contract, named owners for the unresolved decisions, and set a short daily checkpoint until the dependency was stable.
  • I worked with the team to identify a safe fallback: keep the existing customer path available and gate the new integration behind a feature flag. That let us test the new path without making the entire release depend on it.
  • I shared options and trade-offs with product and leadership: ship the validated scope on time, or delay the broader release to include the integration. I recommended the staged option and explained the customer impact and rollback plan.
  • I made the acceptance criteria explicit, including integration tests, monitoring, and who would make the go/no-go call. I also captured the contract ambiguity as a follow-up improvement to our cross-team planning.

Result

We released the validated scope on schedule, then enabled the integration after it passed the agreed checks. In an interview, I’d quantify the outcome using the actual delivery date, defect rate, or customer impact—for example, whether the staged release avoided a full-release delay or prevented escaped defects. At Samsung, I would use the same approach: establish facts quickly, align teams on shared outcomes, make risk visible, and choose a reversible path when uncertainty is high. I learned that clear interfaces and decision ownership often resolve conflict better than escalating it.

What interviewers listen for

  • Personal ownership without blaming another team.
  • A clear quality-versus-schedule trade-off and sound judgment.
  • Cross-functional influence, concrete actions, and measurable results.
  • A specific reflection on how the approach transfers to Samsung.
BehavioralMediumSamsungProduct Manager

3. How would you work with a technical project manager and handle a conflict with them?

Model answer

Situation

On a cross-functional launch, I partnered with a technical project manager who was responsible for sequencing engineering work and surfacing delivery risks. We disagreed about whether to hold the launch until every planned integration was complete or ship a smaller, reliable version first. The date mattered because customer commitments depended on it, but a rushed release could create support and reliability problems.

Task

I owned the product outcome and needed to resolve the disagreement without undermining the TPM’s delivery role. The goal was a decision the team could execute, with transparent scope, risks, and owners.

Action

  • I first spoke with the TPM one-on-one and asked what evidence drove their recommendation. I learned that the concern was not the date itself; it was an untested dependency that could make the core workflow fail.
  • I restated the shared objective—deliver a trustworthy customer outcome—and separated that from our different proposals. I acknowledged the TPM’s expertise in sequencing and made clear that I was not asking engineering to absorb unbounded risk.
  • I worked with engineering and customer-facing partners to classify scope into launch-critical, deferrable, and unacceptable-risk items. For example, we kept the end-to-end core workflow and monitoring in scope, while moving a lower-use integration to a follow-up release.
  • I proposed a time-boxed validation spike with an explicit pass/fail criterion, named owners, and a decision checkpoint. That let us replace opinion with evidence while protecting the schedule.
  • When the evidence showed the core path was reliable but one integration was not, I documented the trade-off, customer impact, rollback plan, and follow-up date. I made sure the TPM co-presented the revised plan so the team saw it as a joint decision.

Result

We launched the reduced scope on the committed date, avoided the known integration risk, and completed the deferred work in the next release. In a real interview, I would add the actual delivery, reliability, or customer metrics rather than inventing them. I learned that productive conflict often reflects different accountabilities; clarifying the shared outcome and agreeing on evidence is more effective than arguing over who is right.

What interviewers listen for

  • Respect for the TPM’s role and a direct, private approach to conflict.
  • Clear product ownership, evidence-based trade-offs, and explicit risk management.
  • A measurable outcome and reflection—not simply a claim that everyone agreed.
BehavioralMediumSamsungDirector of Technical Program Management

4. Have you encountered a team that did not want to participate with the PMO, and how did you handle it?

Model answer

Situation — In one example, a platform engineering team was reluctant to participate in the PMO’s planning and status process. They saw it as extra reporting that would take time from delivery, and they were concerned that their technical work would be reduced to misleading red/amber/green indicators. Their work was on the critical path for several product launches, so the disconnect created real risks for both teams.

Task — I needed to establish enough shared visibility to manage dependencies and surface risks early, without imposing a process that the engineering team considered bureaucratic or that disrupted delivery.

Action

  • I started by listening to the team lead and engineers to understand what specifically felt wasteful. I learned they were duplicating updates in multiple tools and being asked for commitments before technical discovery was complete.
  • I made the purpose explicit: the goal was to resolve cross-team dependencies and escalate decisions, not to inspect individual productivity. I also acknowledged that our process had contributed to the frustration.
  • I partnered with the team lead to pilot a lighter approach for one release: one source of truth, a short weekly dependency-and-risk review, and confidence ranges for work that was still being explored.
  • I worked with product and dependent teams to distinguish decisions they needed immediately from status information that could wait. For example, we escalated an API contract decision rather than asking the engineers to provide false precision on the entire delivery date.
  • I reviewed the pilot after a few weeks, removed fields that were not helping decisions, and shared follow-ups and owners so participation visibly led to action.

Result — The team joined the planning cadence, and stakeholders gained earlier visibility into dependencies without requiring duplicate reporting. In a real interview, I would quantify the outcome with verified measures—for example, changes in time to resolve blockers, missed milestones, or reporting effort. The lesson I took away is that adoption comes from demonstrating value and adapting the operating model, not from enforcing attendance.

Director-level signals: Show the organizational stakes, acknowledge the PMO’s role in the friction, make a deliberate process trade-off, and measure both delivery outcomes and process cost.

What interviewers listen for

  • You build trust rather than escalating resistance as a compliance issue.
  • You preserve useful governance while tailoring it to the team’s needs.
  • You can show evidence that the process improved decisions or delivery.
CodingEasySamsungSoftware Engineer

5. Merge Sorted Array (LeetCode)

Model answer

The task

Combine two already sorted arrays into one sorted array, placing the result in the first array. The first array has enough spare capacity to hold all elements from both arrays.

Key idea

Fill the first array from right to left. Comparing the largest remaining elements avoids overwriting values in the first array that have not yet been processed.

Approach

  1. Set pointers to the last valid elements of both arrays.
  2. Set a write pointer to the last slot in the first array.
  3. While the second array still has elements, compare the values at the two read pointers.
  4. Write the larger value at the write pointer, then move the corresponding read pointer and the write pointer left.
  5. Any remaining elements from the second array are copied into the first. Remaining elements from the first are already in place.
class Solution:
    def merge(self, nums1: list[int], m: int, nums2: list[int], n: int) -> None:
        """Merge nums2 into nums1 in-place, keeping nums1 sorted."""
        i = m - 1          # Last initialized element in nums1
        j = n - 1          # Last element in nums2
        write = m + n - 1  # Last available position in nums1

        # Fill from the back so unread nums1 elements are not overwritten.
        while j >= 0:
            if i >= 0 and nums1[i] > nums2[j]:
                nums1[write] = nums1[i]
                i -= 1
            else:
                nums1[write] = nums2[j]
                j -= 1
            write -= 1

Complexity:

  • Time: O(m + n), since each element is considered at most once.
  • Space: O(1), because the merge modifies the first array directly.

Common follow-ups

  • What if the arrays are sorted in descending order? Reverse the comparison or adapt the traversal direction.
  • What if the result must go into a separate array? Use two forward pointers and allocate O(m + n) extra space.
  • What if either array is empty? The loop naturally handles it; if the second is empty, the first is already complete.
  • Why merge from the end? Writing from the front could overwrite unprocessed elements in the first array.
CodingEasySamsungSoftware Engineer

6. Intersection of Two Linked Lists (LeetCode)

Model answer

The task

Given the heads of two singly linked lists, return the node where they first join, or None if they never join. Nodes must be compared by identity, not by their stored values.

Key idea

Use two pointers that each traverse both lists. When a pointer reaches the end of its list, redirect it to the other list’s head. This equalizes the total distance traveled, so the pointers meet at the intersection or both reach None.

Approach

  1. Start one pointer at each list’s head.
  2. Advance both pointers one node at a time.
  3. When a pointer reaches None, redirect it to the other list’s head.
  4. Stop when the pointers are identical; return that node.
# LeetCode provides the ListNode definition.
class Solution:
    def getIntersectionNode(self, headA: "ListNode", headB: "ListNode") -> "ListNode":
        pointer_a = headA
        pointer_b = headB

        while pointer_a is not pointer_b:
            # Switching heads makes both pointers traverse the same total length.
            pointer_a = pointer_a.next if pointer_a else headB
            pointer_b = pointer_b.next if pointer_b else headA

        return pointer_a

Complexity:

  • Time: O(m + n), where m and n are the list lengths; each pointer traverses at most both lists.
  • Space: O(1), using only two pointers.

Common follow-ups

  • What if extra space is allowed? Store nodes from one list in a set, then scan the other and return the first node found.
  • Can this be solved by measuring lengths? Yes. Advance the pointer on the longer list by the length difference, then move both pointers together.
  • What if the lists may contain cycles? First determine whether each list has a cycle; intersection detection then needs to account for cyclic structure.
  • Why not compare node values? Different nodes can store the same value; an intersection means both lists reference the exact same node.
CodingEasySamsungSoftware Engineer

7. Two Sum (LeetCode)

Model answer

The task

Given a list of integers and a target, return the indices of two distinct elements whose values add up to the target. The usual version guarantees a valid pair.

Key idea

As we scan the list, store each value’s index in a hash table. For the current value, check whether its needed complement has already appeared; this finds a pair in one pass.

Approach

  1. Create a dictionary mapping previously seen values to their indices.
  2. For each element, compute the complement needed to reach the target.
  3. If that complement is in the dictionary, return its stored index and the current index.
  4. Otherwise, store the current value and index, then continue.
from typing import List

class Solution:
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        # Map each value already visited to its index.
        seen = {}

        for index, value in enumerate(nums):
            complement = target - value

            # A match must come from an earlier, distinct element.
            if complement in seen:
                return [seen[complement], index]

            seen[value] = index

        # The standard problem guarantees a solution.
        raise ValueError("No two elements sum to the target")

Complexity:

  • Time: O(n), where n is the number of elements; each lookup and insertion is O(1) on average.
  • Space: O(n), for the dictionary of values seen so far.

Common follow-ups

  • What if there may be multiple valid pairs? Return the first pair found, or keep searching and collect pairs according to the required output rules.
  • What if the input is sorted? Use two pointers from opposite ends for O(1) extra space; preserve original indices if those are required.
  • What if values repeat? The dictionary stores indices, and checking before insertion ensures the current element is not paired with itself.
CodingEasySamsungSoftware Engineer

8. Two Sum IV - Input is a BST (LeetCode)

Model answer

The task

Given the root of a binary search tree and a target sum, determine whether two distinct nodes have values that add up to the target.

Key idea

During a tree traversal, store values already visited in a set. For each value, check whether its complement (target - value) has appeared earlier; this also ensures a node cannot be paired with itself.

Approach

  1. Initialize an empty set of previously visited values.
  2. Traverse the tree with a stack, starting at the root.
  3. For each node, check whether its complement is in the set.
  4. Return True if it is; otherwise, add the node’s value and push its children.
  5. Return False if the traversal finishes without finding a pair.
class Solution:
    def findTarget(self, root, k):
        if root is None:
            return False

        seen = set()
        stack = [root]

        while stack:
            node = stack.pop()
            complement = k - node.val

            if complement in seen:
                return True

            seen.add(node.val)

            if node.left is not None:
                stack.append(node.left)
            if node.right is not None:
                stack.append(node.right)

        return False

Complexity:

  • Time: O(n), where n is the number of nodes; each node is visited once.
  • Space: O(n) in the worst case for the set and traversal stack.

Common follow-ups

  • Can the BST ordering be used directly? Yes. Use two iterators, one ascending and one descending, and move the iterator whose current sum is too small or too large.
  • What if the tree is very unbalanced? The set-based traversal remains O(n); its explicit stack can grow to O(n).
  • Can the extra space be reduced? The two-iterator approach uses O(h) space for iterator stacks, where h is the tree height.
Product & growthEasySamsungDesign Manager

9. What is empathy mapping?

Model answer

Clarify & scope

An empathy map is a collaborative synthesis tool that helps a team organize what it knows about a user’s experience. It is not a substitute for research or a claim that the team can literally know what someone thinks; it should make evidence, assumptions, and gaps visible.

Users & problem

I’d use one when a team needs a shared understanding of a specific user in a specific situation—for example, a first-time customer trying to resolve a failed payment. I would avoid creating a generic map for an overly broad persona, because that can blur important differences in context and need.

How I build one

  • Define the user, scenario, and decision the team needs to make.
  • Bring in interview notes, usability sessions, support themes, and behavioral data. Record evidence before drawing conclusions.
  • Organize findings into areas such as Says, Thinks, Does, and Feels. Some teams add Pains and Gains to connect observations to needs and desired outcomes.
  • Distinguish direct observations from interpretation. For example, a user may say they are confused; inferring that they distrust the service should be labeled as a hypothesis unless supported by evidence.
  • Identify tensions, unmet needs, and questions to investigate. Convert them into design opportunities or research follow-ups.

Example & trade-offs

In the payment example, a customer might say, “I don’t know if I’ll be charged twice,” while repeatedly checking their bank app. That combination can point to a need for clear transaction status and reassurance. It does not, by itself, prove which interface solution will work; I’d test alternatives such as a clear pending state, a retry explanation, or a support route. Empathy maps can help teams build alignment quickly, but they can also reinforce stereotypes if they are not grounded in evidence or updated as learning changes.

Measurement & leadership angle

I’d assess the map by whether it helps the team make a better decision, not by how polished it looks. I’d connect the identified need to a testable hypothesis and measures such as task success, error recovery, or support-contact rate. As a design manager, I’d facilitate a session where research, design, product, and engineering can challenge assumptions together, then ensure the map informs prioritization rather than becoming a wall artifact.

Product & growthEasySamsungDesign Manager

10. Can you define color theory?

Model answer

Clarify & scope

Color theory is a practical framework for understanding how colors relate, how they are perceived together, and how they can communicate hierarchy, meaning, and mood. In product design, I would not treat it as a recipe for choosing attractive colors; I’d use it to make information easier to understand and interactions easier to use.

Users & context

The right palette depends on the user, product, culture, environment, and task. A color that signals success in one context may have a different meaning in another. I’d also account for color-vision differences, low-vision users, dark mode, and displays with different brightness or calibration.

Core concepts

  • Hue is the color family, such as blue or orange.
  • Value is how light or dark a color appears.
  • Saturation is how vivid or muted it is.
  • A color wheel helps explain relationships such as complementary colors, which contrast strongly, and analogous colors, which sit near one another and often feel cohesive.
  • Contrast affects legibility and emphasis. It should be evaluated for text and controls, not guessed by eye.
  • Color semantics assign consistent meaning, such as red for an error, but meaning must also be communicated with labels, icons, or other cues—not color alone.

Application & trade-offs

For a product interface, I’d start with the information hierarchy and brand constraints, then define a limited set of semantic tokens: for example, text, surface, action, success, warning, and error. A restrained palette improves consistency, while more colors can help distinguish categories but also increase cognitive load and maintenance. I’d check contrast against accessibility standards and test the palette in realistic screens, states, and themes.

Success & leadership angle

I’d evaluate the system through usability testing, accessibility audits, and design-system adoption—not personal preference. As a design manager, I’d help teams agree on shared semantic tokens and usage guidance, partner with brand and engineering, and make exceptions intentional. The goal is a coherent system that supports comprehension and identity while remaining accessible and robust.

Product & growthMediumSamsungGroup Product Manager

11. What key points should a product manager focus on when developing a product roadmap?

Model answer

Clarify & scope

I treat a roadmap as a set of strategic choices and expected outcomes—not a feature inventory or a promise that every date is fixed. I first align on the company strategy, target customer, planning horizon, and constraints, including capacity, dependencies, and regulatory or technical commitments.

User segments & pain points

I identify the most important customer segments and unmet needs using research, support themes, usage data, and commercial input. I make explicit whose problem we are prioritizing and why. A roadmap that tries to serve every segment equally usually becomes a list of stakeholder requests rather than a coherent strategy.

Goals & success metrics

I connect each strategic theme to a measurable customer and business outcome. For example, a self-serve onboarding theme might target faster time to first value and stronger activation, with retention and support burden as guardrails. I define baselines, targets, and leading indicators so we can tell whether work is succeeding, not merely whether it shipped.

Solutions

I keep the roadmap at the right level: customer problems and outcomes first, with candidate initiatives beneath them. For each problem, I compare options such as improving the existing journey, building a new capability, or addressing an underlying platform constraint. I state key assumptions and what evidence would change the plan.

Recommendation: Organize the roadmap around a small number of strategic themes, each with an outcome, accountable owner, candidate bets, and confidence level. Communicate near-term work with greater detail and later horizons as directional. This is honest about uncertainty while still giving teams and stakeholders a useful view.

Prioritization & trade-offs

I use a consistent framework—such as expected impact, customer reach, confidence, effort, and strategic fit—rather than letting the loudest request win. I also reserve capacity for reliability, technical health, and urgent obligations. I make opportunity costs visible: what we will not do, and why.

MVP, measurement & rollout

I sequence the smallest valuable test, define dependencies and decision points, and review the roadmap regularly with cross-functional partners. I track outcomes and learning, not just delivery dates. If evidence, customer needs, or company priorities change, I update the roadmap, explain the trade-off, and preserve trust by communicating changes early.

Product & growthMediumSamsungProduct Manager

12. One of my favorite publications is The New Yorker.

The full question

One of my favorite publications is The New Yorker. Let's say you were a PM on their digital team and you noticed online orders were down 30%. Figure out why.

Make it harder? Orders dropped rapidly.

Model answer

Clarify

I’d first confirm what “online orders” means: paid subscriptions, single-issue purchases, gifts, or all digital commerce. I’d also validate the 30% drop against the same days and weeks last year, and check whether it is a drop in order count, revenue, or both. Since the decline was rapid, I’d treat this as a possible incident—not assume it is a change in reader interest—and look for when it began and whether it affects all customers or only a segment.

Define the metrics

My primary metric is completed, non-cancelled orders. I’d decompose it into sessions × checkout-start rate × checkout-completion rate, then track revenue, average order value, payment failures, and cancellations as guardrails. I’d compare each stage with its own baseline to see whether fewer people are arriving, fewer are deciding to buy, or more are failing to complete checkout.

Break down

I’d segment the trend by product, new versus returning customers, acquisition channel, device and browser, geography, payment method, and traffic source. I’d align the time series across analytics, order records, payment-provider responses, and deployment logs. That tells me whether the drop is broad or concentrated—for example, mobile checkout in one market after a release.

Ranked hypotheses

  1. Checkout or payment failure: a release, payment-provider issue, or broken form prevents orders from completing.
  2. Measurement or order-processing issue: orders still happen, but analytics attribution or the reporting pipeline is missing them.
  3. Traffic or campaign disruption: a channel, referral link, or email campaign stopped sending qualified visitors.
  4. Offer or pricing change: a price, promotion, shipping charge, or subscription term changed unexpectedly.
  5. Seasonality or external event: possible, but I’d test it only after ruling out operational failures.

Investigate and act

I’d check whether the decline starts at a specific timestamp, compare funnel conversion by segment, inspect error rates and payment declines, and place test orders across key devices and payment methods. I’d also reconcile successful payment transactions with created orders. If a recent release correlates with a broken checkout, I’d roll it back or disable the affected path while engineering investigates; if it is a vendor outage, I’d surface a clear customer message and monitor recovery.

Decision & guardrails

I’d share an initial diagnosis quickly, then update it as evidence comes in. I’d confirm recovery using completed orders and payment reconciliation—not page views alone—and monitor refunds, duplicate charges, and checkout errors so a short-term fix does not create a worse customer problem.

System designMediumSamsungStaff Engineer

13. How would you design a system?

Model answer

The prompt does not specify a product or workload, so I would begin by clarifying the use case, users, scale, and required guarantees. To make the design concrete, I’ll assume we need a multi-channel notification service that accepts requests from product services and delivers email, SMS, or push notifications reliably.

1. Requirements & scale

Functional requirements

  • Accept notification requests with recipient, channel, template, and delivery time.
  • Apply user preferences, support scheduled delivery, and track delivery status.
  • Retry transient failures and prevent duplicate sends for retried requests.

Non-functional requirements

  • High availability for request acceptance; delivery may be eventually consistent.
  • Durable acceptance, tenant isolation, abuse prevention, and auditable status.
  • Target p95 enqueue latency below 200 ms; delivery latency depends on channel and schedule.

Illustrative scale

  • 10 million daily active recipients × 5 notifications/day = 50 million notifications/day.
  • Average throughput is about 580 requests/second; at a 10× peak, plan for roughly 5,800/second.
  • At 1 KB of stored request and status data per notification, raw growth is about 50 GB/day, or 1.5 TB for 30 days, before indexes and replication.
  • A 1 KB enqueue request at peak is roughly 6 MB/second of ingress; provider traffic is larger because retries and channel payloads vary.

2. High-level architecture

The API validates and durably accepts work, then workers deliver asynchronously. This keeps provider latency and outages away from the request path.

flowchart TD
  subgraph Client
    A[Product services]
  end
  subgraph EdgeCDN["Edge/CDN"]
    B[API gateway]
  end
  subgraph LoadBalancer["Load Balancer"]
    C[Regional balancer]
  end
  subgraph APIServices["API / Services"]
    D[Notification API]
    E[Preference service]
    F[Scheduler]
  end
  subgraph Cache
    G[Template and preference cache]
  end
  subgraph Datastores
    H["SQL metadata store"]
    I["Status store"]
  end
  subgraph MessageQueue["Message Queue"]
    J[Ready queue]
    K[Retry and dead-letter queues]
  end
  subgraph Workers
    L[Channel workers]
    M[Provider adapters]
  end
  N[Email SMS push providers]
  A -->|submit request| B
  B -->|rate-limited request| C
  C -->|route| D
  D -->|read preferences| E
  E -->|cache lookup| G
  D -->|persist request| H
  D -->|enqueue accepted work| J
  F -->|release due work| J
  J -->|claim work| L
  L -->|read template| G
  L -->|record status| I
  L -->|send| M
  M -->|deliver| N
  M -->|retry failure| K
  K -->|redrive| J
Diagram

3. API design

  • POST /v1/notifications — accept a request; require an idempotency key and return a notification ID.
  • GET /v1/notifications/{id} — retrieve status and timestamps.
  • PUT /v1/users/{id}/preferences — update channel preferences and opt-outs.
  • POST /v1/templates — create or version a notification template.

4. Data model & storage

  • SQL metadata store: notification ID, tenant ID, recipient ID, channel, template version, scheduled time, idempotency key, and state. Use a unique constraint on (tenant_id, idempotency_key).
  • Status store: append-only attempt events, provider response, and timestamps. Partition by time and notification ID; expire detailed events according to retention policy.
  • Queue: partition by tenant or recipient hash for parallelism; include notification ID, not sensitive message content.
  • Cache: versioned templates and frequently accessed preferences, with short TTLs and explicit invalidation on preference changes.

5. Deep dive

The critical boundary is durable acceptance versus delivery. Write the notification row and an outbox event in one SQL transaction. A publisher reads the outbox and sends events to the queue; this avoids losing work if the process crashes between committing the row and publishing. Workers use a lease or visibility timeout, record an attempt, and call the provider with a stable provider idempotency key where supported.

sequenceDiagram
  participant P as Product service
  participant A as API
  participant DB as SQL and outbox
  participant Q as Queue
  participant W as Worker
  participant V as Provider
  P->>A: POST with idempotency key
  A->>DB: Transaction: notification plus outbox
  DB-->>A: Commit
  A-->>P: 202 Accepted and notification ID
  DB->>Q: Publish outbox event
  Q->>W: Deliver notification ID
  W->>V: Send with stable provider key
  V-->>W: Accepted or failed
  W->>DB: Record attempt and status
Diagram

Retries use exponential backoff with jitter and a maximum attempt count. Permanent errors, such as invalid addresses, go to a dead-letter queue; transient provider errors are retried. Since external providers may not support idempotency, exactly-once delivery cannot be guaranteed—design for at-least-once processing, deduplicate where possible, and expose that guarantee clearly.

6. Scale, bottlenecks & trade-offs

  • Partition queue work across many consumers; isolate noisy tenants with quotas and per-tenant concurrency limits.
  • Replicate SQL across zones and back it up. Keep the enqueue path dependent on the durable primary; fail closed rather than acknowledge work that could be lost.
  • Cache reads, but treat preference changes carefully: a stale opt-out can violate user intent. Check fresh preference data at dispatch or use versioned invalidation.
  • Provider rate limits and outages are the likely bottleneck. Use circuit breakers, provider-specific queues, backpressure, and dashboards for queue age and delivery success.
  • Measure acceptance latency, queue age, delivery success by channel/provider, retry rate, duplicate rate, and cost per delivered notification. Roll out by tenant or traffic percentage, with a kill switch and replay plan.
System designHardSamsungProduct Manager

14. How would you design a cloud service to increase adoption among wearable-device developers?

Model answer

1. Requirements & scale

Goal: Help wearable-device developers build, test, launch, and improve integrations with less effort. Adoption depends on a fast first success, reliable tools, clear documentation, and confidence that the service works across devices.

  • Functional: developer accounts and projects; SDKs and APIs; device and simulator testing; event ingestion; logs, analytics, and debugging; deployment controls; documentation and sample apps.
  • Non-functional: secure handling of health and device data, high availability, low-latency APIs, tenant isolation, version compatibility, and clear privacy controls.
  • Assumptions and estimates: 100,000 daily active test devices, each sending one 1 KB event per minute. That is about 144 million events/day, or 1,700 events/second on average. At a 5× peak, ingest must handle about 8,500 events/second. Raw event storage is about 144 GB/day, or 4.3 TB for 30 days before replication and indexes. At 20 developer API calls per minute across 10,000 active developers, control-plane load is roughly 3,300 requests/second at peak; I would validate these assumptions with pilot partners.

2. High-level architecture

flowchart TD
  subgraph Client
    D[Developer portal]
    SDK[SDK and device]
  end
  subgraph Edge_CDN[Edge and CDN]
    CDN[Docs and package CDN]
    WAF[WAF and rate limits]
  end
  subgraph Load_Balancer[Load Balancer]
    LB[Regional ingress]
  end
  subgraph API_Services["API / Services"]
    Auth[Identity and project API]
    Test[Simulator and test API]
    Ingest[Event ingest API]
    Query[Logs and analytics API]
  end
  subgraph Cache[Cache]
    Redis[Redis cache]
  end
  subgraph Datastores[Datastores]
    SQL[Project metadata SQL]
    TS[Time series store]
    Blob[Object storage]
    Search[Log search index]
  end
  subgraph Message_Queue[Message Queue]
    Queue[Partitioned event stream]
  end
  subgraph Workers[Workers]
    Validate[Validation workers]
    Aggregate[Aggregation workers]
    Notify[Alert workers]
  end
  D -->|Docs and packages| CDN
  D -->|Project requests| WAF
  SDK -->|Device events| WAF
  WAF -->|Validated requests| LB
  LB --> Auth
  LB --> Test
  LB --> Ingest
  LB --> Query
  Auth -->|Read and write| SQL
  Auth -->|Tokens and quotas| Redis
  Test -->|Test artifacts| Blob
  Ingest -->|Durable events| Queue
  Queue --> Validate
  Validate -->|Raw events| Blob
  Validate -->|Time series writes| TS
  Validate --> Aggregate
  Aggregate -->|Rollups| TS
  Aggregate --> Notify
  Query -->|Recent data| Redis
  Query -->|Search| Search
  Query -->|Historical queries| TS
Diagram

3. API design

  • POST /v1/projects creates a developer project and credentials.
  • POST /v1/devices/{deviceId}/events ingests a batch with an idempotency key.
  • POST /v1/tests starts a simulator or hardware-in-the-loop test; GET /v1/tests/{testId} returns status and results.
  • GET /v1/projects/{projectId}/events queries authorized logs with time and device filters.
  • POST /v1/deployments stages a release; POST /v1/deployments/{id}/promote promotes it.

4. Data model & storage

Use SQL for users, projects, permissions, device registrations, and deployment metadata because these need transactional updates and relational constraints. Store event payloads in object storage for inexpensive retention, and indexed time-series data for common queries. Partition the event stream by projectId and device hash to preserve useful ordering while spreading load; prevent a large tenant from monopolizing a partition. Keep short-lived tokens, rate limits, and hot project metadata in Redis. Apply tenant IDs to every record and enforce authorization at the service layer, not just in the UI.

5. Deep dive

The adoption-critical path is time to first successful device event. I would provide a guided quickstart that creates a project, issues a scoped test credential, runs a sample app or simulator, and displays the first event in a live console. The ingest API validates the schema and authorization, checks idempotency, then acknowledges only after durable queue acceptance. Workers validate and enrich asynchronously, writing the raw event and query-ready representation. The developer sees processing status and actionable schema errors rather than a silent failure.

sequenceDiagram
  participant Dev as Developer
  participant API as Ingest API
  participant Q as Event stream
  participant Worker as Validator worker
  participant Store as Event store
  Dev->>API: Send event batch and idempotency key
  API->>API: Authenticate and validate envelope
  API->>Q: Append durable batch
  API-->>Dev: Return accepted receipt
  Q->>Worker: Deliver batch
  Worker->>Worker: Validate schema and enrich
  Worker->>Store: Write raw event and index
  Store-->>Dev: Event appears in console query
Diagram

6. Scale, bottlenecks & trade-offs

  • Scale ingest horizontally behind regional load balancers; use backpressure and per-project quotas to protect the platform. Monitor queue lag, rejected events, and hot partitions.
  • Replicate metadata databases across availability zones and back them up. Use regional event ingestion with explicit data-residency controls; replicate across regions only when the customer’s policy permits it.
  • Choose durable asynchronous ingestion over synchronous indexing: developers get fast acknowledgments, but the UI must expose processing delay and retries. Use at-least-once delivery with idempotent writes rather than promising exactly-once processing.
  • Cache documentation and packages at the edge; cache metadata briefly. Avoid caching sensitive event payloads by default.
  • Roll out SDK and API changes with versioned schemas, compatibility tests, canaries, and rollback. Track activation, time to first event, test success, week-four retention, API error rate, ingest latency, and privacy/security incidents. The leadership focus is to prioritize the onboarding bottleneck while earning trust throu
System designHardSamsungSenior Director of Product Management

15. If you had to converge two platform capabilities into one, what considerations would you take into account?

Model answer

1. Requirements & scale

I’d first establish whether the capabilities solve the same user problem, who depends on them, and what “one” means: one API, one implementation, one operating team, or all three. I’ll use an illustrative case: two internal platforms both accept product events and deliver them to downstream consumers, but one is a legacy batch service and one supports real-time delivery.

Functional requirements

  • Provide one documented interface for authorized producer teams to publish events and manage subscriptions.
  • Support the required delivery modes, schemas, retries, replay, and delivery-status visibility.
  • Preserve essential behavior for existing consumers during migration.
  • Provide ownership, access controls, quotas, and auditability.

Non-functional requirements

  • Avoid losing accepted events; make delivery semantics explicit, such as at-least-once with idempotent consumers.
  • Meet agreed availability and latency targets, with tenant isolation and observable failures.
  • Allow independent rollout, rollback, and migration by producer or consumer.

Illustrative scale: 10,000 producer services averaging 10 events/second gives 100,000 events/second. At 1 KB per event, raw ingress is about 100 MB/second, or 8.6 TB/day before replication and retention overhead. A 3× replication factor implies roughly 26 TB/day of replicated event storage. Peaks might be 5× average, so I’d size ingestion for 500,000 events/second or apply explicit quotas and backpressure. I’d replace these assumptions with measured workload profiles before committing to capacity.

2. High-level architecture

The core design is a stable unified API and control plane over a canonical event contract, with durable asynchronous delivery. Compatibility adapters let legacy clients migrate incrementally; they are transitional, not permanent parallel products.

flowchart TD
  subgraph Client
    P[Producer services]
    C[Consumer services]
  end
  subgraph EdgeCDN[Edge and CDN]
    E[API gateway and auth]
  end
  subgraph LoadBalancer[Load Balancer]
    L[Regional routing]
  end
  subgraph APIServices[API and Services]
    A[Unified publish API]
    S[Subscription control plane]
    V[Validation and normalization]
    D[Delivery dispatcher]
    X[Legacy compatibility adapter]
  end
  subgraph Cache[Cache]
    K[Subscription cache]
  end
  subgraph Datastores[Datastores]
    R[(Schema registry)]
    T[(Subscription database)]
    O[(Event object store)]
  end
  subgraph MessageQueue[Message Queue]
    Q[Durable event log]
    DLQ[Dead letter queue]
  end
  subgraph Workers[Workers]
    W[Delivery workers]
    M[Migration and replay workers]
  end
  P -->|publish event| E
  C -->|manage subscription| E
  E -->|authorized request| L
  L -->|publish or control call| A
  L -->|subscription call| S
  A -->|legacy request| X
  A -->|canonical event| V
  V -->|schema lookup| R
  V -->|persist event| O
  V -->|accepted event| Q
  S -->|write configuration| T
  S -->|refresh configuration| K
  Q -->|partitioned event stream| D
  K -->|routing rules| D
  D -->|delivery task| W
  W -->|retry failures| DLQ
  W -->|delivery outcome| O
  M -->|replay or migrate| Q
  W -->|webhook or consumer delivery| C
Diagram

3. API design

  • POST /v1/events — publish an event with tenant, event type, schema version, idempotency key, and payload; return an event ID and acceptance status.
  • PUT /v1/subscriptions/{id} — create or update a destination, filters, delivery mode, and retry policy.
  • GET /v1/events/{id} — inspect processing and delivery status, subject to authorization.
  • POST /v1/events/{id}:replay — request a controlled replay with an idempotency key and audit record.
  • GET /v1/migrations/{id} — report migration progress and validation results.

4. Data model & storage

  • Event envelope: event_id, tenant_id, event_type, schema_version, occurred_at, idempotency_key, payload reference, and trace context.
  • Subscription: subscription ID, tenant, event filters, endpoint, secret reference, delivery policy, and version.
  • Store subscription metadata in a relational database for transactions and control-plane queries. Cache hot routing rules, with version checks and short TTLs.
  • Put the ordered, partitioned event stream in a durable log; key by tenant and event type where ordering is required. Store large payloads and replay history in object storage with defined retention. Keep delivery attempts and audit records queryable by tenant and time.

5. Deep dive

The hardest part is converging semantics, not merging code. I’d inventory differences in ordering, retries, payload limits, authentication, latency, and failure behavior. Then I’d define a canonical contract and explicitly document which legacy behaviors are preserved, deprecated, or intentionally changed.

For publish, validate authorization and schema, deduplicate using the idempotency key within a defined window, persist durably, then acknowledge. Delivery is asynchronous: workers apply subscription filters, send with bounded retries and exponential backoff, and move exhausted failures to a dead-letter queue. Consumers must be able to deduplicate because retries can produce duplicate delivery.

sequenceDiagram
  participant P as Producer
  participant A as Unified API
  participant R as Schema registry
  participant Q as Durable log
  participant W as Delivery worker
  participant C as Consumer
  P->>A: Publish event with idempotency key
  A->>R: Validate schema and version
  R-->>A: Schema valid
  A->>Q: Persist event
  Q-->>A: Durable acknowledgment
  A-->>P: Return event ID
  Q->>W: Deliver event record
  W->>C: Send event with delivery ID
  C-->>W: Acknowledge delivery
  W->>Q: Commit offset and outcome
Diagram

6. Scale, bottlenecks & trade-offs

  • Partitioning increases throughput, but ordering is only guaranteed within a partition. I’d define the ordering key based on actual product needs and pr
System designHardSamsungEngineering Manager

16. How do you approach designing scalable systems in your domain?

Model answer

I would start by clarifying the product and operational goals, then design for measured needs rather than assuming that scale means adding more services. As a concrete example, I’ll use a multi-tenant event ingestion and processing platform; I’d adapt the numbers and architecture to the actual domain.

1. Requirements & scale

Functional requirements

  • Accept authenticated events from many tenants, validate and durably buffer them, and process them asynchronously.
  • Support tenant-level configuration, idempotent retries, event replay, and operational visibility.
  • Provide clear delivery semantics. I would promise at-least-once delivery and make consumers idempotent unless a true exactly-once business requirement justified the cost.

Non-functional requirements

  • High availability for ingestion, tenant isolation, predictable latency, and protection against noisy neighbors.
  • Durability, auditability, privacy controls, and bounded recovery time after failures.
  • A reasonable starting target might be 99.95% ingestion availability and p99 acknowledgement under 500 ms, subject to product needs.

Back-of-the-envelope estimates

  • Assume 50,000 active tenants averaging 0.2 events/sec: about 10,000 events/sec average. Plan for a 10x burst, or 100,000 events/sec peak.
  • At 1 KB per event, peak ingress is about 100 MB/sec. Average daily volume is 10,000 × 86,400 = 864 million events, or roughly 864 GB/day before compression and indexes.
  • Seven days of raw hot data is about 6 TB; with indexes, replication, and overhead, provision roughly 15–20 TB. Retain older data in cheaper object storage according to policy.

2. High-level architecture

flowchart TD
  subgraph Client[Client]
    SDK[SDK and producers]
  end
  subgraph Edge[Edge and CDN]
    WAF[WAF and rate limits]
  end
  subgraph LB[Load Balancer]
    ALB[Regional ingress]
  end
  subgraph Services[API and Services]
    Auth[Auth and quota]
    Ingest[Ingestion API]
    Config[Tenant config service]
    Query[Query API]
  end
  subgraph Cache[Cache]
    Redis[Redis config and quota cache]
  end
  subgraph Stores[Datastores]
    SQL[SQL tenant metadata]
    Hot[Hot event store]
    Blob[Object storage archive]
    Search[Search index]
  end
  subgraph Queue[Message Queue]
    Kafka[Partitioned event log]
    DLQ[Dead letter queue]
  end
  subgraph Workers[Workers]
    Validate[Validation workers]
    Enrich[Enrichment workers]
    Export[Archive and index workers]
  end
  SDK -->|HTTPS batches| WAF
  WAF -->|filtered requests| ALB
  ALB -->|route| Auth
  Auth -->|tenant limits| Redis
  Auth -->|identity and policy| SQL
  Auth -->|authorized request| Ingest
  Ingest -->|durable append| Kafka
  Ingest -->|accepted response| SDK
  Kafka -->|event partitions| Validate
  Validate -->|valid events| Enrich
  Validate -->|invalid after retries| DLQ
  Enrich -->|processed records| Hot
  Enrich -->|records to archive| Export
  Export -->|compressed files| Blob
  Export -->|indexed fields| Search
  Query -->|tenant-scoped reads| Hot
  Query -->|text search| Search
  Query -->|older data| Blob
  Config -->|read and update| SQL
Diagram

I would keep ingestion stateless and separate the fast acknowledgement path from downstream processing. The acknowledgement follows a durable queue append; expensive enrichment, indexing, and archival happen asynchronously.

3. API design

  • POST /v1/events:batch — ingest a bounded batch with an idempotency key; return accepted count and per-record validation errors.
  • GET /v1/events/{event_id} — retrieve status or event details, subject to tenant authorization.
  • GET /v1/events — query a tenant’s events using a time range and cursor; enforce pagination and query limits.
  • GET /v1/tenant/config and PUT /v1/tenant/config — read and update tenant settings with versioned configuration.
  • GET /v1/operations/lag — expose authorized processing-lag and delivery status metrics.

4. Data model & storage

  • SQL: tenants, API credentials, quotas, schema versions, and configuration. Use tenant_id as the leading key and enforce authorization at the service boundary.
  • Kafka: event envelope containing event_id, tenant_id, stream_id, schema_version, event_time, and payload. Partition by a stable tenant/stream key to preserve required ordering, while detecting and mitigating hot tenants.
  • Hot event store: partition by event date and a hashed tenant key for recent reads; use retention policies and tenant-scoped indexes.
  • Object storage: compressed, immutable time-partitioned archives for replay and long retention. Store manifests and checksums for safe recovery.
  • Cache: short-lived quotas and configuration only; the database remains authoritative. Avoid caching authorization decisions beyond their safe invalidation window.

5. Deep dive

The core design decision is how to combine durable acceptance, retries, ordering, and tenant isolation. I would validate authentication, batch size, schema version, and quota before enqueueing. The ingestion service would append the batch to the replicated log and acknowledge only after the configured durability threshold is met. A client retry uses the same idempotency key; consumers maintain a deduplication window keyed by tenant and event ID. This makes at-least-once delivery safe without claiming global exactly-once processing.

sequenceDiagram
  participant C as Client
  participant I as Ingestion API
  participant K as Event log
  participant W as Worker
  participant D as Event store
  C->>I: POST batch with idempotency key
  I->>I: Authenticate, validate, enforce quota
  I->>K: Append to tenant partition
  K-->>I: Durable acknowledgement
  I-->>C: 202 Accepted and batch status
  K->>W: Deliver event
  W->>W: Deduplicate and process
  W->>D: Idempotent upsert
Diagram

I would make backpressure explicit: reject or defer requests when a tenant exceeds its quota or the log approaches safe capacity, return retr

TechnicalEasySamsungStaff EngineerPhone interview

17. What basic machine-learning concepts are relevant to the technical projects on your resume?

Model answer

I’d connect machine-learning concepts to the actual lifecycle of a project on my resume: what decision the model supports, what data it learns from, how we evaluate it, and how we keep it reliable after launch. I’d avoid listing algorithms without explaining why they fit the problem.

  1. Problem framing and baseline - Define the prediction target, decision, and cost of false positives versus false negatives. - Start with a simple baseline—rules, a majority-class predictor, or linear/logistic regression—so the team can measure whether added complexity creates real value. - Separate model quality from product value: a better offline score matters only if it improves the user or business outcome.
  2. Data and features - Explain where labels come from, how representative the training data is, and what preprocessing or feature engineering was needed. - Watch for missing values, class imbalance, biased labels, and data leakage—features that would not be available at prediction time. - Split data in a way that reflects deployment. For time-dependent data, use chronological splits rather than a random split that can leak future patterns into training.
  3. Model choice and evaluation - Choose a model based on data size, interpretability, latency, and operational cost—not just benchmark performance. - Select metrics that fit the decision: precision and recall for imbalanced classification, calibration when scores drive thresholds, and MAE/RMSE for regression depending on the error costs. - Use a validation set for tuning and reserve a test set for a final, unbiased estimate. Compare performance across important user or data segments.
  4. Deployment and monitoring - Describe how the model was served: batch or online inference, feature availability, latency budget, fallback behavior, and versioning. - Monitor data quality, feature and prediction drift, latency, errors, and delayed outcome metrics. Retraining should be based on evidence and validation, not an automatic response to every metric fluctuation. - Use a staged rollout or shadow evaluation; retain a baseline or rules-based fallback for failures.
flowchart LR
  A[Product decision] --> B[Data and labels]
  B --> C[Train and validate]
  C --> D[Offline evaluation]
  D --> E[Staged deployment]
  E --> F[Monitor outcomes and drift]
  F -->|new evidence| B
Diagram

At Staff level, I’d make ownership and trade-offs explicit: who owns label quality, what evidence justifies deployment, how we handle fairness and privacy, and which operational team gets paged. Useful project metrics include baseline-to-model lift, precision/recall at the chosen threshold, inference p95 latency, cost per prediction, coverage, and performance by segment. Common pitfalls are optimizing a proxy metric disconnected from user outcomes, leaking future information, and shipping without a monitoring or rollback plan.

TechnicalEasySamsungSoftware EngineerTechnical Round

18. Can you explain the Android activity lifecycle?

Model answer

An Activity moves through lifecycle callbacks as it is created, becomes visible and interactive, then leaves the foreground. I think of the callbacks as signals for setting up UI, acquiring resources, and saving enough state to recover safely.

flowchart TD
    A[Activity launched] --> B[onCreate]
    B --> C[onStart]
    C --> D[onResume]
    D --> E[Foreground and interactive]
    E --> F[onPause]
    F --> G{Still visible?}
    G -- Yes --> C
    G -- No --> H[onStop]
    H --> I{Returning or finishing?}
    I -- Returning --> C
    I -- Finishing --> J[onDestroy]
    H --> K[Process may be killed]
Diagram
  1. onCreate() initializes the Activity: inflate the UI, set up dependencies, and restore state when available. It is called for a new Activity instance.
  2. onStart() makes the Activity visible. It may still be partly obscured and not yet interactive.
  3. onResume() puts it in the foreground, ready for user input. Start foreground-only work here, or use lifecycle-aware APIs to manage it.
  4. onPause() means focus is being lost. Keep it brief; pause animations or release resources that must not remain active while the Activity is not focused.
  5. onStop() means it is no longer visible. Release heavier UI-related resources and persist state that must survive longer interruptions.
  6. onDestroy() runs when that Activity instance is being destroyed, such as on finish() or a configuration change. It is not guaranteed if Android kills the process.

A configuration change, such as rotation, commonly destroys and recreates the Activity; saved state and a ViewModel help preserve the right data. I don’t rely on onDestroy() for critical persistence, because the system can kill the process without calling it. For modern apps, I prefer lifecycle-aware components over manually tying long-running work to callbacks.

TechnicalEasySamsungSoftware EngineerTechnical Round

19. What happens when you press the Back button in an Android application?

Model answer

Back asks the app to navigate out of its current state. The exact action depends on the navigation stack and whether the app handles the event.

flowchart TD
    A[User presses Back] --> B[Back dispatcher]
    B --> C{Can current UI handle it?}
    C -- Yes --> D[Pop screen or dismiss UI]
    C -- No --> E{Is this the task root?}
    E -- No --> F[Finish current Activity]
    E -- Yes --> G[Leave task and show previous app or Home]
Diagram
  1. The system dispatches Back to the foreground app. In modern Android, apps can integrate through OnBackPressedDispatcher or the platform back APIs, including predictive Back.
  2. The current navigation layer gets the first chance to handle it. For example, a NavController can pop the navigation stack, a dialog can dismiss, or a screen can close a transient UI state.
  3. If nothing handles it, Android finishes the current Activity. The previous Activity in the task’s back stack becomes visible. Finishing an Activity is not the same as killing the app process; Android may keep the process around for reuse.
  4. At the task root, Back leaves the task. On current Android versions, the user typically returns to the Home screen or the previously used task; the task may remain in Recents.
  5. The app should preserve important state before this can happen. I use saved state or persistent storage as appropriate, rather than assuming the Activity will receive a final callback or that the process will survive.

I avoid intercepting Back just to keep users inside a screen. If custom behavior is needed—for example, warning about unsaved edits—I handle it through the back dispatcher and let the user confirm, discard, or continue editing.

TechnicalEasySamsungSoftware EngineerTechnical Round

20. Explain paging in an operating system.

Model answer

Paging is a memory-management technique that divides a process's virtual address space into fixed-size pages and physical memory into same-size frames. The operating system can map any virtual page to an available physical frame, so a process does not need one contiguous block of RAM.

  1. The CPU generates a virtual address containing a page number and an offset.
  2. The memory-management unit (MMU) uses the page number to look up the physical frame in the process's page table. A TLB caches recent translations to speed this up.
  3. The physical address is formed from the frame number and the unchanged offset.
  4. If the page is not in RAM, a page fault traps to the OS. The OS loads it from storage, updates the mapping, and resumes the process; if necessary, it evicts another page.
flowchart LR
    A[Virtual address] --> B[Page number and offset]
    B --> C{TLB hit?}
    C -- Yes --> F[Frame number]
    C -- No --> D[Page table lookup]
    D --> E{Page present?}
    E -- Yes --> F
    E -- No --> G[Page fault and load page]
    G --> D
    F --> H[Frame number plus offset]
    H --> I[Physical address]
Diagram

Paging avoids external fragmentation, though it can cause internal fragmentation in the last page of an allocation. Page tables and translation lookups also consume memory and time.

Practice these out loud, don't memorise them

Reading an answer is not the same as being able to give one under pressure. ChannelPulse plays the interviewer, asks the follow-ups, and scores each answer with feedback and a model answer so you can hear the gap between what you said and what lands.

Get ChannelPulse Browse all questions