cswork / libraryOpen practice workspace

Interview guides · Hitachi Energy

Hitachi Energy Software Engineer Interview Guide

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

The 60-second brief

As a Software Engineer at Hitachi Energy, you build and scale software solutions that power the global energy transition. Hitachi Energy operates at the intersection of critical infrastructure, industrial automation, and cutting-edge digital technology. Engineers in this role build applications ranging from high-throughput enterprise software platforms and grid automation tools to embedded control software and specialized energy analytics tools like Power BI dashboards and real-time monitoring systems. Your work directly impacts how power grids, renewable energy assets, switchgear systems, and industrial plants operate worldwide. Whether you are developing cloud-native microservices using Spring Boot, designing database schemas, or writing clean backend code in Java or Python, your contribution helps ensure grid reliability and efficiency.

This guide is scoped to a Software Engineer candidate at Hitachi Energy.

Focus areas

  • Electrical Engineering Fundamentals
  • Power Systems (Theory Concepts)
  • Electrical Machines

The Hitachi Energy interview process

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

HR Screening

Initial engagement with HR to assess candidate qualifications and fit.

What to demonstrate

  • Initial engagement with HR to assess candidate qualifications and fit
  • Depth in Electrical Engineering Fundamentals

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

Interviews focused on relevant skills and problem-solving abilities.

What to demonstrate

  • Interviews focused on relevant skills and problem-solving abilities
  • Depth in Electrical Engineering Fundamentals

How to prepare

  • Answer aloud and timed: Describe the architecture of a Spring Boot application using the MVC pattern. How would you design a simple REST API for user authentication and data persistence?
  • Answer aloud and timed: What are the differences between standard relational database queries and advanced SQL optimization techniques when working with high-volume datasets?

Team Discussions

Conversations with team leads or project managers to evaluate team fit and culture alignment.

What to demonstrate

  • Conversations with team leads or project managers to evaluate team fit and culture alignment
  • Depth in Electrical Engineering Fundamentals

How to prepare

  • Answer aloud and timed: Explain basic web development concepts involving JavaScript and PHP if you are working on modern or legacy web portals.
  • Answer aloud and timed: What are basic electronic components like transistors and diodes, and how do they function in power control systems?

Where candidates lose points

Structure Your Resume Around Projects

Be prepared to discuss every technology and project listed on your resume in depth. Interviewers frequently anchor technical questions directly to the tools, languages, and frameworks you list.

Prepare a Clear Presentation

If asked to deliver a PPT presentation, keep your slides clean, concise, and structured. Focus on clear problem statements, architectural diagrams, your individual technical contribution, and business impact.

Highlight Adaptability and Willingness to Learn

Hitachi Energy values engineers who bring an open mindset toward learning domain-specific energy and grid concepts alongside standard software engineering skills.

Practice Core Fundamentals

Review basic computer science principles, object-oriented concepts, basic SQL optimizations, and core framework capabilities (such as Java 8 Streams and Spring Boot MVC) prior to technical rounds.

Questions & practice

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?

Identify the heaviest tenants in a five-minute window under memory pressure

Medium · top-k · heavy hitters · streaming

The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.

Approach

  1. Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
  2. Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
  3. State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
  4. Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.

Follow-up

  • The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
  • Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?

Merge partitioned event streams into one ordered feed with bounded lateness

Hard · k-way merge · watermarks · out-of-order streams

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

  1. 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.
  2. 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.
  3. 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.
  4. 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?

What are the differences between standard relational database queries and advanced SQL optimization techniques

Medium · Core Computer Science & Frameworks

What are the differences between standard relational database queries and advanced SQL optimization techniques when working with high-volume datasets?

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?

Keep soft-deleted accounts from blocking re-registration

Easy · soft delete · unique constraints · engine differences

app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.

Approach

  1. Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
  2. Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
  3. For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
  4. State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.

Follow-up

  • A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
  • How do you honour an erasure request while resource_revision.actor_user_id still references this table?

How do Object-Oriented Programming (OOP) concepts like encapsulation, inheritance, and polymorphism apply to p

Medium · Core Computer Science & Frameworks

How do Object-Oriented Programming (OOP) concepts like encapsulation, inheritance, and polymorphism apply to production software design?

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 the usage of Java 8 features such as Streams and Optional classes. How do streams improve code readabi

Medium · Core Computer Science & Frameworks

Explain the usage of Java 8 features such as Streams and Optional classes. How do streams improve code readability and performance during collection processing?

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 architecture of a Spring Boot application using the MVC pattern. How would you design a simple RE

Medium · Core Computer Science & Frameworks

Describe the architecture of a Spring Boot application using the MVC pattern. How would you design a simple REST API for user authentication and data persistence?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

Explain basic web development concepts involving JavaScript and PHP if you are working on modern or legacy web

Medium · Core Computer Science & Frameworks

Explain basic web development concepts involving JavaScript and PHP if you are working on modern or legacy web portals.

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 basic electronic components like transistors and diodes, and how do they function in power control sy

Medium · Domain & Hardware Crossover Knowledge

What are basic electronic components like transistors and diodes, and how do they function in power control systems?

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 your familiarity with data visualization and reporting tools such as Power BI for technical reporting

Medium · Domain & Hardware Crossover Knowledge

Describe your familiarity with data visualization and reporting tools such as Power BI for technical reporting.

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 software applications interface with core electrical equipment like switchgear, transformers, or protec

Medium · Domain & Hardware Crossover Knowledge

How do software applications interface with core electrical equipment like switchgear, transformers, or protection and control systems?

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?

Walk me through a complex project on your resume. What was your technical contribution, and what architectural

Medium · System Architecture & Project Deep Dives

Walk me through a complex project on your resume. What was your technical contribution, and what architectural trade-offs did you make?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

Walk through a scenario where you had to design a service to capture and save incoming user data. How did you

Medium · System Architecture & Project Deep Dives

Walk through a scenario where you had to design a service to capture and save incoming user data. How did you structure your application layers?

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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 code optimization, error handling, and unit testing in your daily development workflow?

Medium · System Architecture & Project Deep Dives

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. 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?

Read latency spikes on a sixty-second sawtooth

Medium · cache stampede · single-flight · ttl

The cached listing read path serves about 14k reads/second at an 85% hit rate. p99 sits at 35 ms for 57 seconds, jumps to 900 ms for 3, and repeats. During each spike the primary shows several hundred identical listing queries starting within the same millisecond, all carrying one large tenant's id. Cache entries use a 60-second TTL. Give the mechanism, the ordered checks, the fix, and the correctness hazard your fix must not introduce.

Approach

  1. Match the period to a configured number before theorising about load. A spike every 60 seconds against a 60-second TTL is an entry expiring, and you confirm it by correlating spike timestamps with the entry's write time rather than with the traffic curve. If the period had matched a cron or a GC interval instead, this is a different investigation.
  2. Establish the concurrency of the miss. Several hundred identical queries in one millisecond means the miss path has no coalescing: every request that arrives between expiry and repopulation recomputes. The herd size is that key's arrival rate times its recompute time, so at 1.2k reads/second for the hot key and a 250 ms recompute you expect about 300 concurrent misses, which matches what is observed.
  3. Add single-flight on the miss path so one caller per key recomputes under a short-lived lock while the rest wait for its result. Prefer stale-while-revalidate where the read tolerates it: return the expired value immediately and refresh asynchronously, which removes the latency spike rather than serialising it into a queue of waiters.
  4. De-synchronise the keys. Write TTLs with jitter, for example 60 seconds plus or minus 10%, so a deploy or a mass invalidation does not align every key on the same second and turn a per-key herd into a fleet-wide one.

Follow-up

  • The same sawtooth appears on a key that is invalidated on write rather than expired. Is that the same bug?
  • How does your answer change if the recompute takes 4 seconds instead of 250 ms?

Suggested practice checklist

Built from the rounds and topics Hitachi Energy candidates report.

Day 1 — Map the Hitachi Energy loop

  • Write out the reported sequence: HR Screening, Technical Interviews, Team 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 3 reported rounds, with the weakest marked.

Day 2 — Work Electrical Engineering Fundamentals

  • Spend the session on Electrical Engineering Fundamentals, which Hitachi Energy candidates report being tested on.
  • Write one worked example in Electrical Engineering Fundamentals and time yourself on it.

Deliverable: One timed worked example in Electrical Engineering Fundamentals.

Day 3 — Work Power Systems (Theory Concepts)

  • Spend the session on Power Systems (Theory Concepts), which Hitachi Energy candidates report being tested on.
  • Write one worked example in Power Systems (Theory Concepts) and time yourself on it.

Deliverable: One timed worked example in Power Systems (Theory Concepts).

Day 4 — Work Electrical Machines

  • Spend the session on Electrical Machines, which Hitachi Energy candidates report being tested on.
  • Write one worked example in Electrical Machines and time yourself on it.

Deliverable: One timed worked example in Electrical Machines.

Day 5 — Answer out loud: Core Computer Science & Frameworks

  • Answer aloud, timed: How do Object-Oriented Programming (OOP) concepts like encapsulation, inheritance, and polymorphism apply to production software design?
  • Answer aloud, timed: Explain the usage of Java 8 features such as Streams and Optional classes. How do streams improve code readability and performance during collection processing?

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

Day 6 — Answer out loud: Domain & Hardware Crossover Knowledge

  • Answer aloud, timed: What are basic electronic components like transistors and diodes, and how do they function in power control systems?
  • Answer aloud, timed: How do you handle data ingestion from physical sensors, power meters, or grid monitoring equipment into software applications?

Deliverable: Spoken answers to 2 reported Domain & Hardware Crossover Knowledge question(s), under time.

Day 7 — Answer out loud: System Architecture & Project Deep Dives

  • Answer aloud, timed: Walk me through a complex project on your resume. What was your technical contribution, and what architectural trade-offs did you make?
  • Answer aloud, timed: Walk through a scenario where you had to design a service to capture and save incoming user data. How did you structure your application layers?

Deliverable: Spoken answers to 2 reported System Architecture & Project Deep Dives question(s), under time.

Behavioural preparation

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

How do you handle data ingestion from physical sensors, power meters, or grid monitoring equipment into softwa

Medium · Domain & Hardware Crossover Knowledge

How do you handle data ingestion from physical sensors, power meters, or grid monitoring equipment into software applications?

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?

Tell me about a time when you had to interface directly with clients or non-technical business stakeholders to

Medium · System Architecture & Project Deep Dives

Tell me about a time when you had to interface directly with clients or non-technical business stakeholders to resolve a project issue.

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?

Why do you want to work at Hitachi Energy, and what specific aspects of our energy transition mission resonate

Medium · Behavioral & Cultural Alignment

Why do you want to work at Hitachi Energy, and what specific aspects of our energy transition mission resonate with you?

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?

Where do you see yourself professionally in 5 years?

Medium · Behavioral & Cultural Alignment

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 situation where you had to collaborate with a difficult team member or navigate conflicting team pr

Medium · Behavioral & Cultural Alignment

Describe a situation where you had to collaborate with a difficult team member or navigate conflicting team priorities.

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?

How do you adapt when project requirements change unexpectedly or when working across cross-cultural global te

Medium · Behavioral & Cultural Alignment

How do you adapt when project requirements change unexpectedly or when working across cross-cultural global teams?

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?