Interview guides · Carbon
Carbon Software Engineer Interview Guide
Carbon Software Engineer interview guide: reported rounds, questions and how candidates describe the process.
The 60-second brief
As a Software Engineer at Carbon, you play a vital role in driving the innovation that underpins the company’s cutting-edge 3D printing technology. Your expertise directly impacts the development and optimization of software solutions that facilitate the design, manufacturing, and deployment of advanced materials and products. This position is not merely about coding; it's about creating transformative tools that enhance user experience and operational efficiency across multiple industries. You will join a collaborative team that values creativity and problem-solving, contributing to projects that range from enhancing existing software frameworks to developing entirely new applications. Your work will influence product capabilities, user satisfaction, and the overall success of Carbon's mission to revolutionize the manufacturing landscape.
This guide is scoped to a Software Engineer candidate at Carbon.
Focus areas
- Knowledge of PCBs (Printed Circuit Boards)
- FEM (Finite Element Method)
- Coding Interviews (Write Real Code)
The Carbon interview process
Carbon candidates report 4 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.
Phone Screen
Initial call with a recruiter to discuss background and role fit.
What to demonstrate
- Initial call with a recruiter to discuss background and role fit
- Depth in Knowledge of PCBs (Printed Circuit Boards)
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.
Technical Interview
Interview with a hiring manager focusing on technical skills and problem-solving.
What to demonstrate
- Interview with a hiring manager focusing on technical skills and problem-solving
- Depth in Knowledge of PCBs (Printed Circuit Boards)
How to prepare
- Answer aloud and timed: Describe a challenging technical problem you solved and the approach you took.
- Answer aloud and timed: Write a function to reverse a linked list.
Team Interviews
Series of interviews with various team members covering behavioral and technical questions.
What to demonstrate
- Series of interviews with various team members covering behavioral and technical questions
- Depth in Knowledge of PCBs (Printed Circuit Boards)
How to prepare
- Answer aloud and timed: How would you optimize a function that retrieves user data from a database?
- Answer aloud and timed: Solve a problem involving dynamic programming.
Onsite Interviews
Candidates may present past work or a technical project during onsite interviews.
What to demonstrate
- Candidates may present past work or a technical project during onsite interviews
- Depth in Knowledge of PCBs (Printed Circuit Boards)
How to prepare
- Answer aloud and timed: Tell me about a time you had a conflict with a team member and how you resolved it.
- Answer aloud and timed: Describe a project where you took a leadership role.
Where candidates lose points
Prepare for Behavioral Questions
Be ready to share specific examples of past experiences that highlight your skills and alignment with Carbon's values.
Practice Coding Challenges
Brush up on algorithms and data structures, as coding assessments are a critical part of the interview.
Research the Company
Familiarize yourself with Carbon's products and industry positioning to demonstrate informed interest during your interviews.
Engage with Interviewers
Show curiosity by asking insightful questions about the team and projects, which can reflect your enthusiasm and cultural fit.
Questions & practice
Write a function to reverse a linked list.
Medium · Coding / Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- 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?
How would you optimize a function that retrieves user data from a database?
Medium · Coding / Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- 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?
Solve a problem involving dynamic programming.
Medium · Coding / Algorithms
Approach
- Restate the input: its shape, its size, and what is guaranteed about it.
- Name the brute-force solution and its complexity before improving on it.
- Choose the data structure from the access pattern, not from familiarity.
- 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
- 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.
- 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.
- 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.
- 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?
Explain why the owner filter ignores the listing index
Medium · composite index · query plans · sort elimination
The only index on resource is (tenant_id, status, updated_at DESC, resource_id DESC). A new endpoint returns one user's resources across all statuses, newest created first: WHERE tenant_id = $1 AND owner_user_id = $2 ORDER BY created_at DESC LIMIT 20. On a tenant with 2M rows it takes 900 ms and EXPLAIN shows a sort above a large scan. Explain precisely why the existing index cannot serve it, give the index that can, and state which of these the new index still will not help: owner_user_id alone across tenants; the same query ordered by updated_at. PostgreSQL 16.
Approach
- Separate the two jobs an index does. For filtering, a composite btree is seekable only on a left prefix, so with no predicate on status the scan can at best range over tenant_id and test owner_user_id per row; PostgreSQL 16 has no btree skip scan to jump the unconstrained column.
- For ordering, the index is sorted by (status, updated_at) within a tenant and not by created_at, so the LIMIT cannot stop early: every matching row is read and then sorted. That is the 'Sort Method: top-N heapsort' line, and it is why the plan reads 2M rows to answer with 20.
- Derive the replacement from the access path — equality, equality, then the ordering column: CREATE INDEX CONCURRENTLY ON resource (tenant_id, owner_user_id, created_at DESC). The scan seeks to the (tenant, owner) range and walks 20 entries in order, so the Sort node disappears along with the row-read.
- Treat INCLUDE (title, status) as conditional, not free. An index-only scan still visits the heap for any row whose page is not marked all-visible, so on a table taking 1.2k writes/second the win depends on autovacuum keeping the visibility map current, and the wider index costs more on every insert.
Follow-up
- 90% of rows are status='active'. Would a partial index WHERE status = 'active' change your answer, and for which of the three queries?
- A dashboard runs this for 40 owners in one page load. What changes about the design?
Explain the differences between REST and GraphQL.
Medium · Technical / Domain Questions
Approach
- Say who the caller is and what they do when the call fails halfway.
- Define the identity of a request so a retry cannot double-apply it.
- Separate accepted, pending, failed and confirmed; they are different facts.
- Design the error taxonomy before the success shape; callers branch on it.
Follow-up
- What happens if the caller retries after a timeout?
- How does a client discover it is on an old version of this contract?
How do you ensure code quality and maintainability?
Medium · Technical / Domain Questions
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Describe a challenging technical problem you solved and the approach you took.
Medium · Technical / Domain Questions
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Design an API for a social media application.
Medium · System Design / Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- 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 would you architect a scalable microservices system?
Medium · System Design / Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- 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?
Discuss trade-offs in your design choices for a given scenario.
Medium · System Design / Architecture
Approach
- Fix the scope first: who calls this, how often, and what they do when it fails.
- Name the read and write paths separately; they rarely have the same bottleneck.
- Choose a partition key and say what query it makes expensive.
- 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 your thought process when faced with a tight deadline and limited resources.
Medium · Problem-Solving / Case Studies
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- Work from the requirement backwards to the design.
Follow-up
- What assumption would you test first?
- How would you know your answer was wrong?
Propose a solution for improving the performance of an existing application.
Medium · Problem-Solving / Case Studies
Approach
- Clarify what is being asked and what a complete answer contains.
- State your assumptions explicitly before working the problem.
- Say what you would check first and why it is the highest-information step.
- 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 would you approach debugging a complex software issue?
Medium · Problem-Solving / Case Studies
Approach
- Establish what changed and when, before forming any theory.
- Pick a bisection that eliminates candidates whichever way it turns out.
- Check the instrumentation before believing the symptom.
- 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 Carbon candidates report.
Day 1 — Map the Carbon loop
- Write out the reported sequence: Phone Screen, Technical Interview, Team Interviews, Onsite Interviews.
- 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 Knowledge of PCBs (Printed Circuit Boards)
- Spend the session on Knowledge of PCBs (Printed Circuit Boards), which Carbon candidates report being tested on.
- Write one worked example in Knowledge of PCBs (Printed Circuit Boards) and time yourself on it.
Deliverable: One timed worked example in Knowledge of PCBs (Printed Circuit Boards).
Day 3 — Work FEM (Finite Element Method)
- Spend the session on FEM (Finite Element Method), which Carbon candidates report being tested on.
- Write one worked example in FEM (Finite Element Method) and time yourself on it.
Deliverable: One timed worked example in FEM (Finite Element Method).
Day 4 — Work Coding Interviews (Write Real Code)
- Spend the session on Coding Interviews (Write Real Code), which Carbon candidates report being tested on.
- Write one worked example in Coding Interviews (Write Real Code) and time yourself on it.
Deliverable: One timed worked example in Coding Interviews (Write Real Code).
Day 5 — Answer out loud: Technical / Domain Questions
- Answer aloud, timed: Explain the differences between REST and GraphQL.
- Answer aloud, timed: How do you ensure code quality and maintainability?
Deliverable: Spoken answers to 2 reported Technical / Domain Questions question(s), under time.
Day 6 — Answer out loud: Coding / Algorithms
- Answer aloud, timed: Write a function to reverse a linked list.
- Answer aloud, timed: How would you optimize a function that retrieves user data from a database?
Deliverable: Spoken answers to 2 reported Coding / Algorithms question(s), under time.
Day 7 — Answer out loud: Behavioral / Leadership
- Answer aloud, timed: Tell me about a time you had a conflict with a team member and how you resolved it.
- Answer aloud, timed: Describe a project where you took a leadership role.
Deliverable: Spoken answers to 2 reported Behavioral / Leadership question(s), under time.
Behavioural preparation
Behavioural rounds judge the decision you made and what it cost.
Tell me about a time you had a conflict with a team member and how you resolved it.
Medium · Behavioral / Leadership
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
Describe a project where you took a leadership role.
Medium · Behavioral / Leadership
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?
What motivates you to do your best work?
Medium · Behavioral / Leadership
Approach
- Pick a story where you made the decision, not one where you watched it.
- State the situation in two sentences and spend the rest on the reasoning.
- Give the blast radius: what could have broken, and what you measured.
- 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?