cswork / libraryOpen practice workspace

Interview guides · goML

goML Software Engineer Interview Guide

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

The 60-second brief

As a Software Engineer at goML, you will play a pivotal role in bridging the gap between advanced machine learning capabilities and production-ready software applications. goML specializes in delivering high-impact AI and machine learning solutions, which means software engineering here is not just about writing standard web applications. It is about building the robust infrastructure, responsive user interfaces, and highly performant APIs required to serve complex ML models to end-users. Your work will directly impact how clients interact with cutting-edge AI technologies. Whether you are optimizing a frontend dashboard in React to visualize real-time data or structuring backend APIs to handle high-throughput requests, your contributions ensure that machine learning models perform reliably at scale.

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

Focus areas

  • Analytical & Problem-Solving
  • JavaScript Fetch Concepts
  • API Fundamentals

The goML interview process

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

Online Assessment or Group Discussion

Initial screening focusing on logical reasoning, aptitude, and coding challenges or assessing communication skills and collaboration.

What to demonstrate

  • Initial screening focusing on logical reasoning, aptitude, and coding challenges or assessing communication skills and collaboration
  • Depth in Analytical & Problem-Solving

How to prepare

  • Answer aloud and timed: Explain the difference between state and props in React.
  • Answer aloud and timed: How does the Fetch API work in JavaScript, and how do you handle asynchronous operations using async/await?

One-on-One Technical Interviews

In-depth interviews covering core computer science subjects, frontend concepts, project experience, and problem-solving scenarios.

What to demonstrate

  • In-depth interviews covering core computer science subjects, frontend concepts, project experience, and problem-solving scenarios
  • Depth in Analytical & Problem-Solving

How to prepare

  • Answer aloud and timed: Describe the box model in CSS and how you would center a div both horizontally and vertically.
  • Answer aloud and timed: What are React Hooks, and when would you use useEffect?

Managerial or HR Round

Final evaluation of career goals, strengths, weaknesses, and cultural fit within the company.

What to demonstrate

  • Final evaluation of career goals, strengths, weaknesses, and cultural fit within the company
  • Depth in Analytical & Problem-Solving

How to prepare

  • Prepare three examples from your own work, each with a decision you made and an outcome you can quantify.
  • Re-read the description of the managerial or hr round above and write down what you would ask to confirm before it.

Where candidates lose points

Structure your self-introduction

Candidates have reported that the initial self-introduction can set the tone for the entire interview. Take the time to structure your introduction, highlighting key projects, your technical stack, and your interest in AI/ML solutions.

Be prepared for a comprehensive self-introduction

Candidates have reported spending up to 7 minutes walking through their background, so ensure your story is structured and highlights your technical milestones clearly.

Explain your design decisions

When discussing your projects, do not just list the technologies you used. Explain why you chose React, how you structured your state, or why you designed an API in a specific way.

Questions & practice

How does the Fetch API work in JavaScript, and how do you handle asynchronous operations using async/await?

Medium · Frontend & Web Technologies

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 optimize a search algorithm when dealing with a massive, unsorted dataset?

Medium · Analytical Thinking & Puzzles

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?

Canonicalise a request body into a stable idempotency fingerprint

Medium · parsing · canonicalisation · hashing

idempotency_key.request_fingerprint is a SHA-256 over the method, path and canonicalised body, and a retry whose fingerprint differs must be rejected with 422 rather than served the stored response. Write the canonicaliser. Bodies are JSON up to 256 KB nested at most 32 levels; clients vary key order, whitespace and unicode escaping, and some send 64-bit ids as JSON numbers. Produce a deterministic byte string such that semantically identical bodies match and any semantic difference does not. State your complexity and name two normalisations you refuse to perform.

Approach

  1. Parse once into a tree, then re-serialise under fixed rules: object keys sorted, array order preserved, one escaping convention, no insignificant whitespace. Parsing is O(n) and sorting keys is O(k log k) per object, so O(n log n) overall with O(depth) stack, and the 32-level cap is enforced during parsing because hostile nesting is how a canonicaliser becomes a stack overflow.
  2. Sort keys by their UTF-8 bytes and say why the obvious implementation is wrong in some runtimes: a default string comparison that orders by UTF-16 code units places surrogate pairs, meaning code points from U+10000 up, below U+E000 to U+FFFF, which is not UTF-8 byte order, so two services written in different languages disagree on the same document.
  3. Do not re-encode numbers through a double. IEEE-754 binary64 represents integers exactly only up to 2^53, so normalising a 19-digit id through a float changes it, and 1 against 1.0 cannot be reconciled without deciding whether they are the same value. Preserve the literal token, and require ids as strings at the API boundary if you want them comparable.
  4. Reject duplicate keys rather than picking one. JSON permits them and parsers disagree, most keeping the last, so any choice you make ties the fingerprint to a parser detail that the code handling the request does not necessarily share.

Follow-up

  • A client sends the same logical request with an extra field your API ignores. Same key, different fingerprint, so you return 422. Is that the right answer?
  • Where does the fingerprint get computed relative to request decompression and the body-size limit?

What are your long-term career goals as a Software Engineer, and why do you want to join a fast-paced environm

Medium · Project & Behavioral Discussion

What are your long-term career goals as a Software Engineer, and why do you want to join a fast-paced environment like goML?

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

Stop tag and share joins from fanning out a page

Medium · join fan-out · semi-joins · many-to-many

resource_tag is (resource_id, tag_id) with PK (resource_id, tag_id); resource_share is (resource_id, shared_with_user_id, permission). The tagged-and-shared listing inner-joins resource to both, filters tenant_id, tag_id = ANY($2) and shared_with_user_id = $3, orders by updated_at DESC and takes 50. Pages come back with fewer than 50 distinct resources and the total in the header is far too high. Explain the row multiplication, rewrite both the page query and the count query so each is correct, and name the index each one needs. PostgreSQL 16.

Approach

  1. Do the arithmetic against the predicates that are actually there. An inner join emits one row per matching child row, and both joins are filtered: tag_id = ANY($2) admits only the requested tags, shared_with_user_id = $3 admits one user's share rows. So a resource holding three of the requested tags and shared with $3 once yields three rows, not one — the multiplier is its count of matching tags times its share rows for that single user, and that second factor is 1 unless the table admits duplicate (resource_id, shared_with_user_id) pairs. LIMIT 50 then limits rows rather than resources, and COUNT(*) counts pairs — the header is the product, not the population.
  2. Reject DISTINCT as the fix. It deduplicates after the product has been built, so the planner must materialise and sort the fanned-out set before the LIMIT can apply, and it leaves any SUM or AVG in the same select list wrong.
  3. Rewrite both filters as semi-joins, keeping resource as the only row source: AND EXISTS (SELECT 1 FROM resource_tag rt WHERE rt.resource_id = r.resource_id AND rt.tag_id = ANY($2)) and the same shape against resource_share. A semi-join stops at the first match per resource and preserves the driving index order, so ORDER BY updated_at DESC, resource_id DESC LIMIT 50 still stops after 50 rows.
  4. Count with the same predicates and no join at all: SELECT count(*) FROM resource r WHERE r.tenant_id = $1 AND r.status = 'active' AND EXISTS (...) AND EXISTS (...). Nothing multiplies a resource, so the number is the population.

Follow-up

  • The filter changes from 'any of these tags' to 'all of these tags'. Rewrite it and state what it costs relative to the ANY form.
  • A resource can be shared with the same user twice under different permissions. Does your count change, and should it?

Explain the difference between state and props in React.

Medium · Frontend & Web Technologies

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?

Describe the box model in CSS and how you would center a div both horizontally and vertically.

Medium · Frontend & Web Technologies

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?

What are React Hooks, and when would you use useEffect?

Medium · Frontend & Web Technologies

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 the performance of a web application experiencing slow render times?

Medium · Frontend & Web Technologies

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?

What is the difference between Git and GitHub?

Medium · Core Computer Science & APIs

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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?

Explain the core principles of Object-Oriented Programming (OOPs) with real-world examples.

Medium · Core Computer Science & APIs

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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?

What is a RESTful API, and what are the primary HTTP methods used in API development?

Medium · Core Computer Science & APIs

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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 design an API endpoint to securely transfer user data?

Medium · Core Computer Science & APIs

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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?

Explain the concept of inheritance and how it differs from polymorphism.

Medium · Core Computer Science & APIs

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. 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?

You have two hourglasses: one measures 4 minutes and the other measures 7 minutes. How do you measure exactly

Medium · Analytical Thinking & Puzzles

You have two hourglasses: one measures 4 minutes and the other measures 7 minutes. How do you measure exactly 9 minutes?

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 how you would approach solving a classic logical puzzle during a live technical discussion.

Medium · Analytical Thinking & Puzzles

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?

p99 jumped on one listing filter while p50 stayed flat

Medium · query planning · composite index · percentiles

After a release that added an owner_user_id filter to the resource listing, p99 rose from 90 ms to 1.9 s while p50 stayed at 40 ms. Traffic and row counts are unchanged. resource carries the index (tenant_id, status, updated_at DESC, resource_id DESC). The new query filters tenant_id and owner_user_id, orders by updated_at DESC, resource_id DESC, and takes 20 rows. On PostgreSQL, explain the shape of the regression, prove it from a query plan, and give the index you would add.

Approach

  1. Start from the shape. A flat p50 with a moved p99 means a subset of requests changed cost, not all of them, so the first job is naming the subset. Bucket the endpoint's latency by the tenant's row count; the natural hypothesis is that large tenants are a small share of requests and all of the tail.
  2. Get the plan for the new query on a large tenant with EXPLAIN (ANALYZE, BUFFERS). Expect an index scan over the tenant's range, a filter discarding most of it, then a Sort feeding the Limit, possibly reporting Sort Method: external merge Disk. Read actual rows on the scan node, not estimated.
  3. Explain why the existing index cannot serve it. A composite B-tree is seekable only as a left prefix, and with no equality predicate on status the scan cannot treat updated_at as an ordering, because rows in the tenant's range are ordered by status first. Everything matching must be read and sorted before LIMIT 20 can apply, so a tenant with 400,000 rows pays 400,000 rows to return 20.
  4. Add (tenant_id, owner_user_id, updated_at DESC, resource_id DESC). Equality on the first two columns leaves the index ordered by updated_at within that pair, so the plan becomes an index scan that stops after 20 rows with no Sort node. PostgreSQL can scan a B-tree backwards, so the DESC markers matter only if the two sort columns ever disagree in direction; keeping them explicit documents the order the keyset cursor depends on.

Follow-up

  • The endpoint paginates with OFFSET. What does page 500 cost with your index, and what does the keyset version cost?
  • How would you have caught this before release, given that a 10,000-row seed database produces the same plan shape at an unnoticeable cost?

Suggested practice checklist

Built from the rounds and topics goML candidates report.

Day 1 — Map the goML loop

  • Write out the reported sequence: Online Assessment or Group Discussion, One-on-One Technical Interviews, Managerial or HR Round.
  • 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 3 reported rounds, with the weakest marked.

Day 2 — Work Analytical & Problem-Solving

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

Deliverable: One timed worked example in Analytical & Problem-Solving.

Day 3 — Work JavaScript Fetch Concepts

  • Spend the session on JavaScript Fetch Concepts, which goML candidates report being tested on.
  • Write one worked example in JavaScript Fetch Concepts and time yourself on it.

Deliverable: One timed worked example in JavaScript Fetch Concepts.

Day 4 — Work API Fundamentals

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

Deliverable: One timed worked example in API Fundamentals.

Day 5 — Answer out loud: Frontend & Web Technologies

  • Answer aloud, timed: Explain the difference between state and props in React.
  • Answer aloud, timed: How does the Fetch API work in JavaScript, and how do you handle asynchronous operations using async/await?

Deliverable: Spoken answers to 2 reported Frontend & Web Technologies question(s), under time.

Day 6 — Answer out loud: Core Computer Science & APIs

  • Answer aloud, timed: What is the difference between Git and GitHub?
  • Answer aloud, timed: Explain the core principles of Object-Oriented Programming (OOPs) with real-world examples.

Deliverable: Spoken answers to 2 reported Core Computer Science & APIs question(s), under time.

Day 7 — Answer out loud: Analytical Thinking & Puzzles

  • Answer aloud, timed: You have two hourglasses: one measures 4 minutes and the other measures 7 minutes. How do you measure exactly 9 minutes?
  • Answer aloud, timed: Explain how you would approach solving a classic logical puzzle during a live technical discussion.

Deliverable: Spoken answers to 2 reported Analytical Thinking & Puzzles question(s), under time.

Behavioural preparation

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

Walk me through your most recent project. What were the key design decisions you made, and why?

Medium · Project & Behavioral Discussion

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?

Describe a time when you had to debug a complex technical issue in a short timeframe. How did you approach it?

Medium · Project & Behavioral Discussion

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?

Unblock an engineer without taking the keyboard

Easy · mentoring · leases · at-least-once

A teammate has spent two days on a job handler that occasionally writes duplicate rows. They are certain the queue is delivering twice by mistake. You suspect a lease expiring under a slow handler, so the job is running concurrently with itself. Describe how you have unblocked someone in this position: what you asked before offering a hypothesis, what you showed them rather than told them, and what you left them owning. Then say what you would do if their theory turned out to be the right one.

Approach

  1. Ask before diagnosing, and ask for things answerable from data they already have: the attempt count on the job rows that produced duplicates, the handler's observed duration against its lease expiry, and whether the duplicate rows share a natural key that a unique constraint could have caught.
  2. Teach the shape rather than the answer. A lease cannot distinguish a dead worker from a slow one, so a handler that outruns its lease is running twice by design, and deploys deliver the other half by killing handlers mid-run on every rollout. Both of their candidate theories produce identical duplicate rows, which is why the evidence has to come from timings rather than from argument.
  3. Hand over a checklist they execute: a natural key on every write the handler performs so the second copy collides rather than appends, the record of intent written before any external effect, a lease heartbeat while running, and the metric that shows it working.
  4. Keep ownership with them deliberately. Pair on the first write, then step back; if you finish it yourself you have closed one ticket and left the same person stuck on the next redelivery.

Follow-up

  • How would you distinguish a genuine double-delivery from a lease expiry using only the data already stored?
  • Their handler calls an external endpoint before recording that it did. What do you tell them to change first?