As a Software Engineer within The Office of Innovation & Technology (OIT), you are at the heart of the digital transformation of city government. Your work directly impacts how Philadelphia serves its residents, businesses, and visitors. By optimizing infrastructure and building responsive, reliable software, you ensure that essential city services are efficient, accessible, and secure. This role is not just about writing code; it is about solving complex civic challenges. Whether you are automating manual workflows for the Department of Prisons, maintaining critical internal applications, or integrating new technologies into legacy systems, your contributions have a tangible, real-world impact. You will collaborate with cross-functional teams to modernize the city’s technical assets and support the backbone of public service. Expect a fast-paced environment that balances the rigor of public-sector standards with a drive for modern innovation. You will be tasked with navigating both planned development projects and ad-hoc operational requests, requiring a high degree of technical flexibility, curiosity, and a strong sense of ownership.
Recruiter Screen
reportedInitial contact with a recruiter to assess your background and fit for the role.
What to demonstrate
- Initial contact with a recruiter to assess your background and fit for the role
- Depth in Artificial Intelligence (AI)
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 Evaluations
reportedEngagements with technical leads to evaluate your technical proficiency through coding or design scenarios.
What to demonstrate
- Engagements with technical leads to evaluate your technical proficiency through coding or design scenarios
- Depth in Artificial Intelligence (AI)
How to prepare
- Answer aloud and timed: What is your process for debugging a production-level issue under time constraints?
- Answer aloud and timed: How do you approach database integration when working with existing legacy systems?
Management Interview
reportedDiscussion with management to understand your past projects and alignment with operational goals.
What to demonstrate
- Discussion with management to understand your past projects and alignment with operational goals
- Depth in Artificial Intelligence (AI)
How to prepare
- Answer aloud and timed: Can you describe your experience with version control systems like Git and how you handle merge conflicts?
- Answer aloud and timed: Walk me through a project where you had to design a system from scratch. What were the trade-offs?
PracHub editorial advice for the preparation topics above.
Articulate your background
Be prepared to provide a concise, structured summary of your professional history, as you will likely be asked to do this in multiple stages.
Understand the mission
Research the current initiatives of The Office of Innovation & Technology to show how your skills align with their goals.
Be ready for technical depth
Expect interviewers to ask detailed questions about your past projects; be prepared to defend your technical choices.
Prepare for onsite collaboration
Since this role is onsite, highlight your experience working directly with teams and non-technical stakeholders.
Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.
How do you manage the Call Stack and avoid Callback Hell in asynchronous programming?
How do you manage the Call Stack and avoid Callback Hell in asynchronous programming?
Approach
- Say what the runtime actually does before reasoning about the code.
- Name what is shared across threads and what owns each piece of state.
- Identify the window where an invariant is briefly untrue.
- 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?
Merge partitioned event streams into one ordered feed with bounded lateness
The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.
Approach
- Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
- Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
- Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
- Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
- The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
- The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?
Archive a resource graph without breaking live references or recursing
Resources reference other resources within a tenant; for the largest tenant the reference table holds up to 2,000,000 nodes and 8,000,000 edges. Archiving a resource must archive everything reachable from it that nothing outside the set still references, refuse when a live external referrer exists, and terminate when references form cycles, which they legitimately do. Produce the archive order and the refusal list, targeting O(V+E). Say what stops the traversal crossing a tenant boundary, and why recursion is the wrong control structure at this size.
Approach
- Load the subgraph with the tenant predicate on both endpoints of the edge, not only on the side you started from. Scoping the left table alone is the classic cross-tenant leak: one mis-entered edge then pulls another tenant's resources into the traversal and, worse, into the archive.
- Traverse iteratively with an explicit stack. A 2,000,000-node graph can hold a chain deep enough to exhaust a native stack in the low tens of thousands of frames, and that failure is a process crash rather than an error you can return.
- Treat cycles as data rather than corruption: compute strongly connected components with Tarjan in O(V+E) using its own explicit stack, then condense. The condensation is a DAG, so a topological order over it gives the archive order, and every member of a component archives in one transaction because no order within a cycle is valid.
- Decide refusals with reverse edges. A candidate is archivable only if every in-edge originates inside the candidate set, so build the transpose or count in-degrees restricted to the visited set, and emit each blocked resource with the id of the external referrer, which is the only part of the answer an operator can act on.
Follow-up
- The graph is read in one query and the archive writes a minute later. What can change in between, and how do you make the write safe?
- The candidate set is 400,000 resources. Is that one transaction, and if not, what does a half-finished archive look like to a reader?
Find version gaps and relay lag with window functions
outbox_event holds event_id, aggregate_type, aggregate_id, aggregate_version, event_type, payload, status ('pending','published','dead'), attempts, created_at, published_at. A projection is missing rows and you must decide whether the relay skipped events or the consumer dropped them. Write three queries over the last seven days: one listing every aggregate_id whose published aggregate_version sequence has a hole, one giving per-day counts with a running total, and one returning the newest published event per aggregate. For each, say where the window function is evaluated relative to WHERE and LIMIT. PostgreSQL 16.
Approach
- Gaps: compute lead(aggregate_version) OVER (PARTITION BY aggregate_id ORDER BY aggregate_version) in a subquery, then filter next_version <> aggregate_version + 1 in the outer query. Window functions are evaluated after WHERE, GROUP BY and HAVING and before the outer ORDER BY and LIMIT, so the predicate cannot sit in the same WHERE clause and PostgreSQL 16 has no QUALIFY.
- Say what the seven-day filter does to the answer: it truncates every partition, so the first row per aggregate has no predecessor inside the window and a hole spanning the boundary is invisible. Widen the window, or join to resource.version as the authority for the true maximum.
- Running total: SELECT date_trunc('day', created_at) AS d, count() AS n, sum(count()) OVER (ORDER BY date_trunc('day', created_at) ROWS UNBOUNDED PRECEDING). An aggregate inside a window call is legal because grouping runs before windowing. The grouping key is unique per row here so ROWS and RANGE agree, but write the frame anyway — over ungrouped rows with tied timestamps the default RANGE frame pulls in every peer row and the total jumps.
- Newest per aggregate: DISTINCT ON (aggregate_id) ... ORDER BY aggregate_id, aggregate_version DESC is the cheap PostgreSQL-only form when an index matches that order; row_number() OVER (PARTITION BY aggregate_id ORDER BY aggregate_version DESC) = 1 is the portable form and needs a subquery for the same evaluation-order reason as the gap query.
Follow-up
- Relay failover redelivers events. Does a duplicate break the gap query, and how would you detect one from this table alone?
- Turn the gap check into a continuous monitor rather than a query someone runs after an incident. What does it watch?
Write the update path that detects a concurrent edit
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?
Can you explain the difference between various HTTP verbs and when to use them in REST API design?
Can you explain the difference between various HTTP verbs and when to use them in REST API design?
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 approach database integration when working with existing legacy systems?
How do you approach database integration when working with existing legacy systems?
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?
Walk me through a project where you had to design a system from scratch. What were the trade-offs?
Walk me through a project where you had to design a system from scratch. What were the trade-offs?
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 approach automating a manual process that currently relies on outdated tools?
How do you approach automating a manual process that currently relies on outdated tools?
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?
Given a specific technical requirement, how do you determine the best technology stack for the job?
Given a specific technical requirement, how do you determine the best technology stack for the job?
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 balance technical debt with the need to deliver new features quickly?
How do you balance technical debt with the need to deliver new features quickly?
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?
What is your process for debugging a production-level issue under time constraints?
What is your process for debugging a production-level issue under time constraints?
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?
Built from the rounds and topics The Office of Innovation & Technology candidates report.
Prepare, practise & reflect
One practical outcome each day. Spend longer where you need it.
0 / 7 done01Map the The Office of Innovation & Technology loop
- Write out the reported sequence: Recruiter Screen, Technical Evaluations, Management Interview.
- 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.
02Work Artificial Intelligence (AI)
- Spend the session on Artificial Intelligence (AI), which The Office of Innovation & Technology candidates report being tested on.
- Write one worked example in Artificial Intelligence (AI) and time yourself on it.
Deliverable: One timed worked example in Artificial Intelligence (AI).
03Work Desafios técnicos (coding challenge)
- Spend the session on Desafios técnicos (coding challenge), which The Office of Innovation & Technology candidates report being tested on.
- Write one worked example in Desafios técnicos (coding challenge) and time yourself on it.
Deliverable: One timed worked example in Desafios técnicos (coding challenge).
04Work APIs REST
- Spend the session on APIs REST, which The Office of Innovation & Technology candidates report being tested on.
- Write one worked example in APIs REST and time yourself on it.
Deliverable: One timed worked example in APIs REST.
05Answer out loud: Technical & Domain Knowledge
- Answer aloud, timed: How do you manage the Call Stack and avoid Callback Hell in asynchronous programming?
- Answer aloud, timed: Can you explain the difference between various HTTP verbs and when to use them in REST API design?
Deliverable: Spoken answers to 2 reported Technical & Domain Knowledge question(s), under time.
06Answer out loud: Problem-Solving & System Design
- Answer aloud, timed: Walk me through a project where you had to design a system from scratch. What were the trade-offs?
- Answer aloud, timed: How do you approach automating a manual process that currently relies on outdated tools?
Deliverable: Spoken answers to 2 reported Problem-Solving & System Design question(s), under time.
07Answer out loud: Behavioral & Cultural Fit
- Answer aloud, timed: Why do you want to apply your engineering skills within a public-sector environment?
- Answer aloud, timed: Tell me about a time you had to work with a non-technical stakeholder to gather requirements.
Deliverable: Spoken answers to 2 reported Behavioral & Cultural Fit question(s), under time.
Expand any day for tasks and deliverables. Your progress is saved on this device.
Behavioural rounds judge the decision you made and what it cost.
Can you describe your experience with version control systems like Git and how you handle merge conflicts?
Can you describe your experience with version control systems like Git and how you handle merge conflicts?
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 time you had to optimize an existing piece of code for better performance.
Describe a time you had to optimize an existing piece of code for better performance.
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?
Why do you want to apply your engineering skills within a public-sector environment?
Why do you want to apply your engineering skills within a public-sector environment?
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?
Tell me about a time you had to work with a non-technical stakeholder to gather requirements.
Tell me about a time you had to work with a non-technical stakeholder to gather requirements.
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 handle feedback during a code review?
How do you handle feedback during a code review?
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 situation where you had to manage conflicting priorities in a production environment.
Describe a situation where you had to manage conflicting priorities in a production environment.
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 is your approach to learning new technologies when faced with an unfamiliar codebase?
What is your approach to learning new technologies when faced with an unfamiliar codebase?
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?
- 01
Can you describe your experience with version control systems like Git and how you handle merge conflicts?
- 02
Describe a time you had to optimize an existing piece of code for better performance.
- 03
Why do you want to apply your engineering skills within a public-sector environment?
- 04
Tell me about a time you had to work with a non-technical stakeholder to gather requirements.
How long does the interview process typically take?
The process varies, but usually spans a few weeks. It is designed to be efficient, but you should expect multiple stages to ensure a proper fit for both the candidate and the city.
The Office of Innovation & Technology Software Engineer candidate reports ↗Is the technical interview very difficult?
The difficulty is generally balanced. The focus is on practical, real-world application of your skills rather than abstract logic puzzles. Be prepared to talk through your past work and explain your technical decisions.
The Office of Innovation & Technology Software Engineer candidate reports ↗What is the culture like at The Office of Innovation & Technology?
The environment is collaborative and mission-driven. The team values people who are eager to learn, adaptable, and genuinely interested in improving public services through technology.
The Office of Innovation & Technology Software Engineer candidate reports ↗Are there remote work opportunities for this role?
This specific role requires onsite work to effectively collaborate with stakeholders and manage operational systems.
The Office of Innovation & Technology Software Engineer candidate reports ↗What topics does The Office of Innovation & Technology test in interviews?
The Office of Innovation & Technology interviews most often cover Live Coding, Stakeholder Management, Cloud Architecture, Java, and SOLID Principles. The exact emphasis depends on the specific role you apply for.
The Office of Innovation & Technology Software Engineer candidate reports ↗Sources & methodology 3 sources ↗
No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.
- 01The Office of Innovation & Technology Software Engineer candidate reports ↗
Company-reported rounds, questions and FAQ.
Candidate reports · Accessed 2026-09-22 - 02PracHub Software Engineer practice ↗
PracHub practice material, not company-reported.
PracHub page · Accessed 2026-09-22 - 03PracHub preparation framework ↗
PracHub preparation guidance.
PracHub page · Accessed 2026-09-22