As a Software Engineer at Targa, you will play a crucial role in developing and maintaining software solutions that power our products and services. This position is pivotal in ensuring that our systems function seamlessly, enabling us to deliver high-quality energy solutions to our customers. You will work closely with cross-functional teams, including product management and operations, to design, implement, and optimize software applications that meet the dynamic needs of the energy sector. The impact of your work will resonate throughout the organization and with our users, influencing the efficiency and effectiveness of our operations. Expect to engage with complex systems and contribute to innovative projects that have strategic implications for our business. Whether you are enhancing existing applications or developing new features, your contributions will help drive Targa's mission forward in a competitive market.
Initial Screening
reportedA preliminary evaluation to assess the candidate's background and fit for the role.
What to demonstrate
- A preliminary evaluation to assess the 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.
Technical Interviews
reportedA series of discussions with team members focusing on technical skills and problem-solving abilities.
What to demonstrate
- A series of discussions with team members focusing on technical skills and problem-solving abilities
- Depth in Software Engineering (General)
How to prepare
- Answer aloud and timed: Can you discuss a time when you debugged a difficult issue?
- Answer aloud and timed: How do you approach version control in your projects?
Behavioral Interview
reportedAssessment of interpersonal skills and cultural fit through behavioral questions.
What to demonstrate
- Assessment of interpersonal skills and cultural fit through behavioral questions
- 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 interview above and write down what you would ask to confirm before it.
Final Discussions
reportedConversations with leadership to evaluate overall fit and alignment with company values.
What to demonstrate
- Conversations with leadership to evaluate overall fit and alignment with company values
- Depth in Software Engineering (General)
How to prepare
- Answer aloud and timed: How would you find the longest substring without repeating characters?
- Answer aloud and timed: Explain the difference between a stack and a queue.
PracHub editorial advice for the preparation topics above.
Structure your answers
When responding to questions, use the STAR method (Situation, Task, Action, Result) to present your experiences clearly.
Prepare for behavioral questions
Reflect on past experiences where you demonstrated teamwork and problem-solving skills.
Show your passion
Highlight your enthusiasm for technology and how it drives your work. This can resonate positively with interviewers.
Ask insightful questions
Engage your interviewers by asking thoughtful questions about the team and projects at Targa.
Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.
Write a function to reverse a string.
Write a function to reverse a string.
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?
How would you find the longest substring without repeating characters?
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 difference between a stack and a queue.
Explain the difference between a stack and a queue.
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.
Implement a binary search algorithm.
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?
What is the time complexity of your solution, and can it be optimized?
What is the time complexity of your solution, and can it be optimized?
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?
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?
Explain why the owner filter ignores the listing index
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 software development lifecycle.
Explain the software development lifecycle.
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 are the differences between REST and SOAP APIs?
What are the differences between REST and SOAP APIs?
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 version control in your projects?
How do you approach version control in your projects?
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?
p99 jumped on one listing filter while p50 stayed flat
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
- 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.
- 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.
- 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.
- 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?
Built from the rounds and topics Targa candidates report.
Prepare, practise & reflect
One practical outcome each day. Spend longer where you need it.
0 / 7 done01Map the Targa loop
- Write out the reported sequence: Initial Screening, Technical Interviews, Behavioral Interview, Final Discussions.
- 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.
02Work Software Engineering (General)
- Spend the session on Software Engineering (General), which Targa 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).
03Work Interview Communication
- Spend the session on Interview Communication, which Targa candidates report being tested on.
- Write one worked example in Interview Communication and time yourself on it.
Deliverable: One timed worked example in Interview Communication.
04Work Problem Solving
- Spend the session on Problem Solving, which Targa 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.
05Answer out loud: Technical / Domain Questions
- Answer aloud, timed: Explain the software development lifecycle.
- Answer aloud, timed: What are the differences between REST and SOAP APIs?
Deliverable: Spoken answers to 2 reported Technical / Domain Questions question(s), under time.
06Answer out loud: Coding / Algorithms
- Answer aloud, timed: Write a function to reverse a string.
- 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.
07Answer out loud: Behavioral / Leadership
- Answer aloud, timed: Describe a challenge you faced in a team project and how you resolved it.
- Answer aloud, timed: How do you prioritize tasks when working on multiple projects?
Deliverable: Spoken answers to 2 reported Behavioral / Leadership 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 discuss a time when you debugged a difficult issue?
Can you discuss a time when you debugged a difficult issue?
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 your experience with cloud services (e.g., AWS, Azure).
Describe your experience with cloud services (e.g., AWS, Azure).
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 challenge you faced in a team project and how you resolved it.
Describe a challenge you faced in a team project and how you resolved it.
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?
How do you prioritize tasks when working on multiple projects?
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?
Give an example of how you handled a conflict within a team.
Give an example of how you handled a conflict within a team.
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 excel in your role?
What motivates you to excel in your role?
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 stay current with industry trends?
How do you stay current with industry trends?
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 discuss a time when you debugged a difficult issue?
- 02
Describe your experience with cloud services (e.g., AWS, Azure).
- 03
Describe a challenge you faced in a team project and how you resolved it.
- 04
How do you prioritize tasks when working on multiple projects?
How difficult are the interviews at Targa?
The interviews can be challenging, particularly in the technical areas, but they are designed to assess your potential rather than to trip you up. Candidates typically spend a few weeks preparing, focusing on both technical skills and behavioral fit.
Targa Software Engineer candidate reports ↗What differentiates successful candidates?
Successful candidates often demonstrate a combination of strong technical abilities and effective communication skills. They can articulate their thought processes and show how they align with Targa's values.
Targa Software Engineer candidate reports ↗What is the company culture like at Targa?
Targa fosters a collaborative and inclusive work environment. We value teamwork, innovation, and integrity, which are reflected in our approach to projects and team dynamics.
Targa Software Engineer candidate reports ↗How long does the interview process usually take?
The timeline from the initial screening to the final offer can vary, but candidates can generally expect it to take 2-4 weeks.
Targa Software Engineer candidate reports ↗Is remote work an option for this role?
Targa supports hybrid work arrangements, allowing flexibility in work location while promoting collaboration through in-office engagements as needed.
Targa Software Engineer candidate reports ↗What topics does Targa test in interviews?
Targa interviews most often cover Problem Solving, Stakeholder Management, Scenario Analysis, Risk Analysis, and Financial Planning & Analysis (FP&A). The exact emphasis depends on the specific role you apply for.
Targa 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.
- 01Targa 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