cswork / libraryOpen practice workspace

Interview guides · ASML

ASML Software Engineer Interview Guide

ASML Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

As a Software Engineer at ASML, you develop the critical digital infrastructure and embedded systems that power the world's most advanced photolithography machines. ASML builds the Extreme Ultraviolet (EUV) and Deep Ultraviolet (DUV) lithography systems that enable top-tier semiconductor fabricators to manufacture microchips at nanometer scale. Software at ASML is not merely an auxiliary layer; it is the vital control center that governs sub-nanometer mechatronics positioning, complex optical correction algorithms, massive data pipelines, and real-time sensor processing. In this role, your technical contributions directly dictate machine throughput, precision, and yield for globally distributed chipmakers.

This guide is scoped to a Software Engineer candidate at ASML.

Focus areas

  • Coding Interviews
  • Problem Solving
  • Debugging

The ASML interview process

ASML candidates report 4 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

Application Review

Initial review of your application to assess qualifications.

What to demonstrate

  • Initial review of your application to assess qualifications
  • Depth in Coding Interviews

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Screening Phase

A preliminary phase to evaluate your fit and technical capabilities.

What to demonstrate

  • A preliminary phase to evaluate your fit and technical capabilities
  • Depth in Coding Interviews

How to prepare

  • Answer aloud and timed: What are smart pointers, and how do std::unique_ptr and std::shared_ptr assist in preventing memory leaks in large-scale software systems?
  • Answer aloud and timed: Walk us through a scenario where you had to debug a memory leak or a segmentation fault in a legacy codebase.

Technical Assessments

In-depth evaluation focusing on system design, architectural choices, and real-world engineering challenges.

What to demonstrate

  • In-depth evaluation focusing on system design, architectural choices, and real-world engineering challenges
  • Depth in Coding Interviews

How to prepare

  • Answer aloud and timed: How do you implement object-oriented principles like inheritance and polymorphism when designing hardware interface layers?
  • Answer aloud and timed: Describe how you use Python for data analysis or automated testing of hardware systems.

Onsite Panel

Comprehensive interview session, which may be virtual, involving multiple interviewers.

What to demonstrate

  • Comprehensive interview session, which may be virtual, involving multiple interviewers
  • Depth in Coding Interviews

How to prepare

  • Answer aloud and timed: How would you structure a multi-threaded Python script to process continuous streams of machine log data?
  • Answer aloud and timed: Explain the key differences between deep copying and shallow copying in Python, giving a practical example from your past work.

Where candidates lose points

Prepare a 10-to-15-minute presentation on a technical project you led or contributed to significantly

Highlight your specific engineering choices, trade-offs, and measurable outcomes.

Structure your answers using clear logic

When presented with coding or architectural scenarios, speak through your thought process out loud before writing code or suggesting designs.

Review fundamental concepts in object-oriented programming, memory management, and dynamic dispatch in C++

Interviewers appreciate candidates who can explain what happens at the low-level execution layer.

Questions & practice

Explain the difference between stack and heap memory allocation in C++, and detail how dynamic memory manageme

Medium · C++ and Systems Programming

Explain the difference between stack and heap memory allocation in C++, and detail how dynamic memory management impacts real-time machine execution.

Approach

  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.

Follow-up

  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

How do virtual functions and dynamic dispatch work under the hood in C++?

Medium · C++ and Systems Programming

Approach

  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.

Follow-up

  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

What are smart pointers, and how do std::unique_ptr and std::shared_ptr assist in preventing memory leaks

Medium · C++ and Systems Programming

What are smart pointers, and how do std::unique_ptr and std::shared_ptr assist in preventing memory leaks in large-scale software systems?

Approach

  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.

Follow-up

  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

How do you implement object-oriented principles like inheritance and polymorphism when designing hardware inte

Medium · C++ and Systems Programming

How do you implement object-oriented principles like inheritance and polymorphism when designing hardware interface layers?

Approach

  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.

Follow-up

  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

How would you structure a multi-threaded Python script to process continuous streams of machine log data?

Medium · Python, Scripting, and Data Analysis

Approach

  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.

Follow-up

  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

Why do you specifically want to join ASML, and how does your background align with our lithography technology

Medium · Behavioral and Team Collaboration

Why do you specifically want to join ASML, and how does your background align with our lithography technology stack?

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Hold a per-tenant active cap against concurrent creates

Hard · write skew · isolation levels · constraints

A tenant on the standard plan may hold at most 50 resources with status='active'. The create handler runs SELECT count(*) FROM resource WHERE tenant_id = $1 AND status = 'active', compares to 50, then inserts. Two creates arrive 3 ms apart on different instances and the tenant lands at 51. Name the anomaly, say whether PostgreSQL 16 READ COMMITTED or REPEATABLE READ prevents it and why, then give an implementation that holds the cap at READ COMMITTED with the exact statements. Finally, say what changes when the cap is 'at most one running export per tenant' on job_run.

Approach

  1. Name it: write skew. The two transactions read an overlapping set and write disjoint rows, so there is no row-level conflict for the engine to detect and each commit is individually legal.
  2. Rule out the levels precisely. READ COMMITTED takes a fresh snapshot per statement and takes no lock on the counted rows, so both see 49. PostgreSQL's REPEATABLE READ is snapshot isolation: it removes non-repeatable reads and phantoms within the snapshot but still admits write skew, because the anomaly is not a re-read of a changed row, it is a read of a set that a concurrent transaction invalidates. Only SERIALIZABLE closes it, by tracking the read dependency and aborting one transaction with SQLSTATE 40001 — a guarantee that exists only if the application re-runs the whole transaction from the read.
  3. Convert the set predicate into a single-row conflict: keep tenant.active_resource_count and run UPDATE tenant SET active_resource_count = active_resource_count + 1 WHERE tenant_id = $1 AND active_resource_count < 50 in the same transaction as the INSERT. Zero affected rows is the cap, returned as 409. The row lock serialises the decision at any isolation level, and contention is bounded to one tenant's row — which is also the fair-scheduling unit, unlike a global counter that would convoy every tenant behind one row.
  4. State the cost you just took on: a counter is a second source of truth that can drift, so every path that changes status must adjust it inside the same transaction, and a periodic reconciliation has to exist, with resource_revision as the authority for what the count should have been.

Follow-up

  • A resource moves from archived back to active. Which statements change, and what breaks if the counter update and the status change land in different transactions?
  • The cap becomes plan-dependent and a plan can change mid-month. Where does the number 50 live, and who reads it?

Denormalise tenant onto revisions and backfill it live

Hard · denormalisation · online migration · backfill

resource_revision (revision_id, resource_id, version, actor_user_id, change_kind, patch, request_id, created_at) has 400M rows and no tenant column; tenant_id lives only on resource. Two reads need it: a tenant-scoped audit feed ordered by created_at DESC, and an offboarding purge. Both join back to resource today. Justify adding tenant_id to resource_revision against those two reads, name the anomaly the copy introduces and the constraint that prevents it, then give the ordered migration for a live table taking 1.2k writes/second — the lock each step takes, how the backfill is batched, and where each step stops being reversible. PostgreSQL 16.

Approach

  1. Justify from the access path rather than from taste. Without the column, the audit feed either scans resource_revision by created_at and discards other tenants' rows, or resolves the tenant's resource_ids first and probes with them — both proportional to the tenant's whole history rather than to one page. With (tenant_id, created_at DESC, revision_id DESC) it is a seek that stops at 50 rows, and the purge becomes a ranged delete instead of a join.
  2. Name the cost exactly: a second copy of a fact can disagree with the first. Make the disagreement unwritable rather than documented — add UNIQUE (resource_id, tenant_id) on resource so it can serve as a foreign-key target, then FOREIGN KEY (resource_id, tenant_id) REFERENCES resource (resource_id, tenant_id) on the revision table. A revision can then only ever carry its parent's tenant.
  3. Step one, expand: ALTER TABLE resource_revision ADD COLUMN tenant_id BIGINT NULL, with no default, so it is a catalogue change and no rewrite. It still needs ACCESS EXCLUSIVE for an instant, and that instant queues behind the longest open transaction on the table while every later query queues behind it — set lock_timeout to 2s and retry rather than wait.
  4. Step two, dual-write: deploy the writer that populates tenant_id on every new revision while reads still use the join. Reversible by redeploying the previous build, because nothing reads the column yet.

Follow-up

  • The backfill is half finished and a rollback is required. What state is the table in, and what does the previous build do with a half-populated column?
  • How do you verify the backfill actually finished, given rows are still being inserted while it runs?

Describe how you use Python for data analysis or automated testing of hardware systems.

Medium · Python, Scripting, and Data Analysis

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

Explain the key differences between deep copying and shallow copying in Python, giving a practical example fro

Medium · Python, Scripting, and Data Analysis

Explain the key differences between deep copying and shallow copying in Python, giving a practical example from your past work.

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

How do you optimize execution time when processing multi-gigabyte files generated during automated machine tes

Medium · Python, Scripting, and Data Analysis

How do you optimize execution time when processing multi-gigabyte files generated during automated machine tests?

Approach

  1. Clarify what is being asked and what a complete answer contains.
  2. State your assumptions explicitly before working the problem.
  3. Say what you would check first and why it is the highest-information step.
  4. Work from the requirement backwards to the design.

Follow-up

  • What assumption would you test first?
  • How would you know your answer was wrong?

Walk us through the design of a control mechanism or software module that manages real-time hardware status up

Medium · Software Architecture and Problem-Solvin

Walk us through the design of a control mechanism or software module that manages real-time hardware status updates.

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How do you ensure modularity and clean interface segregation when building software that communicates with phy

Medium · Software Architecture and Problem-Solvin

How do you ensure modularity and clean interface segregation when building software that communicates with physical sensors or actuators?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Describe a situation where you had to balance strict software performance requirements against a tight deliver

Medium · Software Architecture and Problem-Solvin

Describe a situation where you had to balance strict software performance requirements against a tight delivery timeline.

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Walk us through a scenario where you had to debug a memory leak or a segmentation fault in a legacy codebase.

Medium · C++ and Systems Programming

Approach

  1. Establish what changed and when, before forming any theory.
  2. Pick a bisection that eliminates candidates whichever way it turns out.
  3. Check the instrumentation before believing the symptom.
  4. Separate the trigger from the cause; the deploy is rarely the bug.

Follow-up

  • What would you look at first, and what would it rule out?
  • How would you tell a cause from a coincidence here?

How do you approach analyzing and debugging an unfamiliar block of low-level C or C++ code provided during an

Medium · Software Architecture and Problem-Solvin

How do you approach analyzing and debugging an unfamiliar block of low-level C or C++ code provided during an incident?

Approach

  1. Establish what changed and when, before forming any theory.
  2. Pick a bisection that eliminates candidates whichever way it turns out.
  3. Check the instrumentation before believing the symptom.
  4. Separate the trigger from the cause; the deploy is rarely the bug.

Follow-up

  • What would you look at first, and what would it rule out?
  • How would you tell a cause from a coincidence here?

Suggested practice checklist

Built from the rounds and topics ASML candidates report.

Day 1 — Map the ASML loop

  • Write out the reported sequence: Application Review, Screening Phase, Technical Assessments, Onsite Panel.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 4 reported rounds, with the weakest marked.

Day 2 — Work Coding Interviews

  • Spend the session on Coding Interviews, which ASML candidates report being tested on.
  • Write one worked example in Coding Interviews and time yourself on it.

Deliverable: One timed worked example in Coding Interviews.

Day 3 — Work Problem Solving

  • Spend the session on Problem Solving, which ASML candidates report being tested on.
  • Write one worked example in Problem Solving and time yourself on it.

Deliverable: One timed worked example in Problem Solving.

Day 4 — Work Debugging

  • Spend the session on Debugging, which ASML candidates report being tested on.
  • Write one worked example in Debugging and time yourself on it.

Deliverable: One timed worked example in Debugging.

Day 5 — Answer out loud: C++ and Systems Programming

  • Answer aloud, timed: Explain the difference between stack and heap memory allocation in C++, and detail how dynamic memory management impacts real-time machine execution.
  • Answer aloud, timed: How do virtual functions and dynamic dispatch work under the hood in C++?

Deliverable: Spoken answers to 2 reported C++ and Systems Programming question(s), under time.

Day 6 — Answer out loud: Python, Scripting, and Data Analysis

  • Answer aloud, timed: Describe how you use Python for data analysis or automated testing of hardware systems.
  • Answer aloud, timed: How would you structure a multi-threaded Python script to process continuous streams of machine log data?

Deliverable: Spoken answers to 2 reported Python, Scripting, and Data Analysis question(s), under time.

Day 7 — Answer out loud: Software Architecture and Problem-Solving

  • Answer aloud, timed: How do you approach analyzing and debugging an unfamiliar block of low-level C or C++ code provided during an incident?
  • Answer aloud, timed: Walk us through the design of a control mechanism or software module that manages real-time hardware status updates.

Deliverable: Spoken answers to 2 reported Software Architecture and Problem-Solving question(s), under time.

Behavioural preparation

Behavioural rounds judge the decision you made and what it cost.

Describe a major technical hurdle you encountered during a complex engineering project and the exact steps you

Medium · Behavioral and Team Collaboration

Describe a major technical hurdle you encountered during a complex engineering project and the exact steps you took to overcome it.

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

How do you handle technical disagreements with senior engineers or cross-functional team members regarding sof

Medium · Behavioral and Team Collaboration

How do you handle technical disagreements with senior engineers or cross-functional team members regarding software design choices?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Tell us about a time when a customer reported a critical machine or software delay. How did you prioritize and

Medium · Behavioral and Team Collaboration

Tell us about a time when a customer reported a critical machine or software delay. How did you prioritize and resolve the issue?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?