Interview guides · O'Reilly Media
O'Reilly Media Software Engineer Interview Guide
O'Reilly Media Software Engineer interview guide: reported rounds, questions and how candidates describe the process.
The 60-second brief
As a Software Engineer at O'Reilly Media, you will play a pivotal role in developing innovative software solutions that enhance the company's offerings and contribute to its mission of advancing learning and knowledge. This position is critical to ensuring that O'Reilly Media can provide high-quality content and technology to its users, supporting a diverse range of products that include online learning platforms, eBooks, and interactive applications. In this role, you will work on complex systems that require not only technical expertise but also a strong understanding of user needs and business objectives. You will collaborate with cross-functional teams, including product management, design, and operations, to create scalable and effective software solutions.
This guide is scoped to a Software Engineer candidate at O'Reilly Media.
Focus areas
- Software Engineering (General)
- Coding Assessment / Coding Challenges
- Take-home Coding Exercises
The O'Reilly Media interview process
O'Reilly Media candidates report 4 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.
Phone Screen
Initial phone screen to evaluate candidate's background and fit for the role.
What to demonstrate
- Initial phone screen to evaluate candidate's background and fit for the role
- Depth in Software Engineering (General)
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.
Take-Home Coding Challenge
Candidates complete a coding challenge at home to demonstrate technical skills.
What to demonstrate
- Candidates complete a coding challenge at home to demonstrate technical skills
- Depth in Software Engineering (General)
How to prepare
- Answer aloud and timed: Can you describe a project where you implemented a significant architectural change?
- Answer aloud and timed: How do you ensure code quality and maintainability in your projects?
Technical Interviews
One or two technical interviews to discuss the coding exercise and technical competencies.
What to demonstrate
- One or two technical interviews to discuss the coding exercise and technical competencies
- Depth in Software Engineering (General)
How to prepare
- Answer aloud and timed: What is your process for debugging a complex application?
- Answer aloud and timed: Write a function to determine if a string is a palindrome.
Behavioral Interviews
Engagement with team members to assess cultural fit and collaboration skills.
What to demonstrate
- Engagement with team members to assess cultural fit and collaboration skills
- Depth in Software Engineering (General)
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 behavioral interviews above and write down what you would ask to confirm before it.
Where candidates lose points
Practice Coding Challenges
Utilize platforms like LeetCode or HackerRank to sharpen your coding skills and prepare for technical assessments.
Understand the Company Culture
Research O'Reilly Media's mission and values to tailor your responses and show your alignment with the company.
Prepare Questions
Have thoughtful questions ready to ask interviewers about the team, projects, and company culture, demonstrating your interest and engagement.
Be Authentic
Be yourself during the interviews; O'Reilly Media values cultural fit and authenticity, which can set you apart from other candidates.
Questions & practice
Write a function to determine if a string is a palindrome.
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 find the longest substring without repeating characters?
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?
Implement a binary search algorithm in your preferred programming language.
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?
Explain the time complexity of your solution for a given problem.
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?
Explain how you would optimize a slow-running SQL query.
Medium · Technical / Domain Questions
Approach
- Name the grain you start from and join outward from it.
- Check whether any join is one-to-many before aggregating, or the sums inflate.
- Say which index the query would use, and what makes it unusable.
- 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?
Write the update path that detects a concurrent edit
Medium · optimistic concurrency · transactional outbox · audit history
resource carries version INT NOT NULL DEFAULT 1. resource_revision holds revision_id, resource_id, version, actor_user_id, change_kind, patch JSONB, request_id, created_at with UNIQUE (resource_id, version). outbox_event holds aggregate_type, aggregate_id, aggregate_version, event_type, payload, status. A PUT carries the version the client read. Write the exact statements for the single transaction that applies the edit, records the revision and enqueues 'resource.updated', and give the handler's branch on zero affected rows. Then say what PostgreSQL 16 does under READ COMMITTED when two of these updates hit one row at once.
Approach
- One transaction, three writes, no network call inside it: UPDATE resource SET title = $3, version = version + 1, updated_at = now() WHERE resource_id = $1 AND tenant_id = $4 AND version = $2; then INSERT the resource_revision row at version $2 + 1; then INSERT the outbox_event row at the same aggregate_version. The event goes to a table rather than a broker because no transaction spans both.
- Branch on the affected-row count before doing anything else. Zero has three causes — stale version, wrong tenant, row gone — so re-read once and map to 409 carrying the current version, or 404 for an id outside the caller's tenant, which also stops the endpoint confirming that another tenant's id exists.
- State the engine behaviour instead of assuming it. Under READ COMMITTED the second UPDATE blocks on the row lock, and when the first commits PostgreSQL re-evaluates the WHERE clause against the newly committed row, so the version predicate now fails and the statement reports zero rows. Under REPEATABLE READ the identical collision raises SQLSTATE 40001 instead, so the handler must fold both shapes into one conflict response.
- Keep UNIQUE (resource_id, version) even though the predicate already serialises writers. It is what makes a lost update unwritable if any other path ever reaches the revision table, and it converts a logic bug into 23505 rather than into a silently missing history row.
Follow-up
- A client sends the version it read ten minutes ago and the resource has moved three versions. What is in your 409 so it can resolve the conflict without a full re-fetch?
- Two editors, two disjoint fields, no overlap. Does your answer still refuse the second write, and should it?
What are 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?
Can you describe a project where you implemented a significant architectural change?
Medium · Technical / Domain Questions
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 do you ensure code quality and maintainability in your projects?
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?
How would you approach a situation where a project is falling behind schedule?
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?
Imagine you need to improve the performance of an existing application. What steps would you take?
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?
What is your process for debugging a complex application?
Medium · Technical / Domain Questions
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 O'Reilly Media candidates report.
Day 1 — Map the O'Reilly Media loop
- Write out the reported sequence: Phone Screen, Take-Home Coding Challenge, Technical Interviews, Behavioral 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 Software Engineering (General)
- Spend the session on Software Engineering (General), which O'Reilly Media candidates report being tested on.
- Write one worked example in Software Engineering (General) and time yourself on it.
Deliverable: One timed worked example in Software Engineering (General).
Day 3 — Work Coding Assessment / Coding Challenges
- Spend the session on Coding Assessment / Coding Challenges, which O'Reilly Media candidates report being tested on.
- Write one worked example in Coding Assessment / Coding Challenges and time yourself on it.
Deliverable: One timed worked example in Coding Assessment / Coding Challenges.
Day 4 — Work Take-home Coding Exercises
- Spend the session on Take-home Coding Exercises, which O'Reilly Media candidates report being tested on.
- Write one worked example in Take-home Coding Exercises and time yourself on it.
Deliverable: One timed worked example in Take-home Coding Exercises.
Day 5 — Answer out loud: Technical / Domain Questions
- Answer aloud, timed: Explain how you would optimize a slow-running SQL query.
- Answer aloud, timed: What are the differences between REST and GraphQL?
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 determine if a string is a palindrome.
- Answer aloud, timed: How would you find the longest substring without repeating characters?
Deliverable: Spoken answers to 2 reported Coding / Algorithms question(s), under time.
Day 7 — Answer out loud: Behavioral / Cultural Fit
- Answer aloud, timed: Describe a time when you faced a significant challenge at work. How did you overcome it?
- Answer aloud, timed: How do you prioritize tasks when working on multiple projects?
Deliverable: Spoken answers to 2 reported Behavioral / Cultural Fit question(s), under time.
Behavioural preparation
Behavioural rounds judge the decision you made and what it cost.
Describe a time when you faced a significant challenge at work. How did you overcome it?
Medium · Behavioral / Cultural Fit
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?
How do you prioritize tasks when working on multiple projects?
Medium · Behavioral / Cultural Fit
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?
Can you give an example of how you have collaborated with others on a technical project?
Medium · Behavioral / Cultural Fit
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 does success look like for you in a team environment?
Medium · Behavioral / Cultural Fit
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?
Discuss a time when you had to make a difficult decision with incomplete information.
Medium · Problem-Solving / Case Studies
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?