Real Interview Questions for the Software Engineer at Ericsson
NewInterview Q&A
Q&A-1What are your strengths and weaknesses?
Reported in Ericsson Software Engineer interview experience (December 2025)
The 90-second answer
My main strength is taking a production symptom down to a reproducible case before I touch the fix. In my last role a signalling service started timing out only under bursts of about 300 requests per second. I added per-stage timing to the request path, found that 95% of the p99 was spent waiting on a connection pool capped at 20, and reproduced the saturation in a load test before changing anything. The fix was a pool sized from measured service time, with a bounded queue and a metric for queue depth, not a blanket increase in threads.
My weakness is that I over-polish designs before anyone else sees them. I used to spend a week on a document that a 30-minute review would have reshaped. Now I share a draft at roughly half done, and I timebox the design phase to two days unless the team agrees to extend it. I also check my own assumptions against the data I have, and I say which numbers are measured and which are estimates.
I'd tie both to the team I'm joining. For a network function team, the questions that matter are latency budgets, failure behaviour under overload and how quickly on-call can tell what is wrong, so those are the areas where I'd push hardest and where my habit of measuring first pays off.
What I'd check before answering in the room
| Area | Strength I'd cite | Weakness I'd own | Mitigation I can show |
|---|---|---|---|
| Debugging | Reproduce before fixing | Can chase a clean repro too long | Timebox to a set number of hours, then escalate |
| Design | Measured sizing | Over-polish before review | Share at half done, two-day design timebox |
| Collaboration | Clear written status | Slow to hand off reviews | Review SLA of one working day |
Follow-ups I'd expect
If they press on the weakness, I'd give one concrete recent example, the week the design sat unshared, and what changed in my calendar and review habits afterwards. I wouldn't claim it is fully solved. I'd say the timebox has held for the last few projects and that I still catch myself at the start of new work.
I would avoid generic strengths such as being a team player or a fast learner. Each strength should have a number, a system or a decision attached, because an interviewer can probe those and a generic claim gives them nothing to test.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-2Tell me about yourself.
Reported in Ericsson Software Engineer interview experience (July 2026)
The 90-second answer
I'm a backend engineer with about six years in telecom-grade services. For the last three I've worked on a session management microservice that handles roughly 40k requests per second at peak across three regions. Before that I spent three years on C++ firmware for radio base station hardware, so I know what a fault costs when it takes a node down at 3 a.m.
What I'd bring to an Ericsson team is the overlap of those two: I write services that run on Kubernetes, and I think hard about how they fail inside a network that doesn't tolerate outages. I own my services end to end, from the Helm chart to the alert rules. I've also tuned retry and timeout budgets against the upstream SLA so that a dependency blip doesn't turn into a cascade.
My current project is moving a stateful session store off a single primary and onto a quorum-based setup. Failover dropped from about 45 s to under 8 s in staging, and the change is now live in one region. I'm working on the other two next.
The detail behind it
The numbers below are illustrative; substitute your own when you answer.
| Area | What I did | How I know it worked |
|---|---|---|
| Failover | Quorum writes, 3 replicas, leader lease 5 s | Failover 45 s to under 8 s in staging |
| Retries | Budget capped at 10% of request volume | Retry storms gone from incident log |
| Alerting | SLO burn-rate alerts replaced threshold alerts | Pages per on-call week fell from 12 to 3 |
The failover story is the one I'd expand on if asked. The old setup took 45 s because the replica waited for a health check timeout before promoting. The new lease expires in 5 s, and a candidate only promotes after a majority acknowledges it. The trade-off is that a partition now stalls writes instead of accepting divergent ones, which is the right call for session state but would be wrong for a cache.
Why Ericsson
The work here sits on the boundary between cloud-native software and systems that carry live traffic for operators. That's the boundary I've spent my career on, and it's the part of the job I find most interesting. I'd like to spend the next few years on it at a larger scale.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-3Why do you want to work at Ericsson?
Reported in Ericsson Software Engineer interview experience (March 2025)
The 90-second answer
The part of Ericsson I want is the software that sits under the radio network, where a missed deadline shows up as dropped calls for millions of people. Most of my work so far has been request-response services, where a slow p99 is an annoyance. In a radio access network the constraints are harder: a scheduler decision may have to land inside a 0.5 ms or 1 ms slot, the software has to run for years with in-place upgrades, and behaviour has to match 3GPP specifications closely enough that other vendors' equipment still interoperates. I want to get good at building under those rules, and Ericsson is one of the few places doing it at scale.
I'd also say I'm drawn to the move toward cloud RAN and containerised network functions. Running baseband workloads on Kubernetes with real-time requirements forces you to think about CPU pinning, isolation, and how a control-plane rollout avoids disturbing user-plane traffic. Those are problems I'd like to own, not watch from outside.
What I'd want to find out in the loop
I'd ask how the team validates a release before it touches a live network: which traffic models they replay, how long a soak test runs, and what the rollback path looks like when a fault only appears at high load. Those answers tell me more about the engineering culture than any mission statement.
Where the constraints bite
| Concern | Typical web service | Radio network function |
|---|---|---|
| Latency budget | p99 in tens to hundreds of ms | per-slot deadline, 0.5 to 1 ms at common numerologies |
| Upgrade | rolling deploy, minutes | in-place or staged, service continuity measured in seconds |
| Failure cost | error rate, customer tickets | degraded coverage across a cell, possibly a regulated outage |
| Correctness reference | internal API contract | 3GPP specification plus interop testing |
That table is the reason I'm applying. The second column is where I've been comfortable; the third is where I want to be.
What I'd bring
I've spent time chasing tail latency under load, and the habit transfers directly: measure the deadline first, find where the budget actually goes, and only then change code. I'm also careful with state during upgrades, because I've seen a schema change that was safe in isolation break a rolling restart. I'd expect to be slower than people here at reading specifications, and I'd rather say that openly and get faster than pretend I already know the standard.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-4Walk me through a recent project and the technologies you used.
Reported in Ericsson Software Engineer interview experience (July 2026)
The 90-second answer
I'd pick a project I owned end to end and lead with the decision I'd defend hardest. I'll state my assumption first: this is a telecom-grade control-plane service, so the bar is predictable tail latency and recoverability, not feature velocity. The figures below are hypothetical and labelled as illustrative.
I rebuilt the subscriber-session lookup for a control-plane microservice. The old version was a single store behind one mutex. At 4,000 requests/s, p99 sat near 180 ms once the lock saturated at about 20 concurrent callers. I replaced it with a sharded in-memory store and a write-behind journal. The service is written in Go 1.22, uses gRPC with protobuf for internal calls, runs on Kubernetes with Helm, and exports Prometheus histograms plus OpenTelemetry traces.
| Layer | Technology | Why this choice |
|---|---|---|
| Service | Go 1.22 | goroutines suited the fan-in; C++ was viable, but review and build cost was higher for this team |
| RPC | gRPC, protobuf | typed contracts and deadline propagation across hops |
| State | 64-shard map, write-behind journal to Kafka | removed the global lock; durability comes from the journal |
| Deploy | Kubernetes, Helm, 10% canary split | rollback in minutes, not a full redeploy |
| Observability | Prometheus histograms, OpenTelemetry | per-shard latency and request counts |
Trace of the change (illustrative)
Before: 4,000 rps, p99 180 ms, lock contention visible in the mutex profile. After: 4,000 rps, p99 22 ms. p99 only crosses 50 ms near 9,000 rps, which is roughly where the network interface became the limit in load tests.
Trade-offs I'd raise myself
Write-behind means writes in the flush window can be lost on a crash. I bounded that at 200 ms and kept it for session hints only. Authoritative subscriber state still goes through the synchronous path. I'd say that split out loud, because an interviewer will ask what happens on a node crash.
Failure modes and how they show up
A hot shard from skewed subscriber keys shows as per-shard request counts diverging by more than 2x. I alert on that ratio. Journal lag shows as consumer offset lag, which has its own alarm. A rollout that regresses latency is caught by the canary's p99 comparison before the 10% slice reaches full traffic.
What I'd close on: the decision, the measured before and after, and the one risk I accepted on purpose. The tool list matters less than that.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-5Tell me about a project you were particularly proud of.
Reported in Ericsson Software Engineer interview experience (September 2026)
The 90-second answer
The one I'd pick is an alarm correlation service I built for a gNB element manager. Before it, a major site fault produced a flood of raw alarms that on-call engineers had to read one by one. The job was to group alarms by probable root cause without ever dropping one the operator needed to see. Figures below are hypothetical and labelled as such, to show how I'd measure it.
I owned the design and the rollout, working with the mediation team on the northbound interface. Alarms arrive over the southbound side and are normalised before they reach the NMS. I added a correlation stage in C++ that keeps a 30 s sliding window keyed on managed object and alarm type, and uses the topology graph to decide parent and child. If an alarm's parent fault is already open in the window, it attaches to that group and increments a count instead of raising a new ticket.
Trace from a test run:
t=0.0s RRU_FAULT on cell 12 -> new group g7, count=1
t=0.4s CPRI_LOSS on cell 12 -> topology parent = RRU, attach to g7, count=2
t=31s no new events -> close window, emit g7 root=RRU_FAULT, children=1
With hypothetical numbers from a replayed major incident: tickets fell from about 1,900 to about 140, and mean time to restore fell from 52 min to 31 min. I'd only claim those figures with the real replay data behind them.
Why topology and not a learned model. A model might group better on average, but an operator has to explain every suppressed alarm. Topology edges are deterministic and auditable, and when they're wrong I can point at the edge.
Failure modes and how I caught them. The main risk was a wrong topology edge hiding a real fault. I ran the correlator in shadow mode for two weeks, writing its grouping next to the raw stream and diffing the two. Any alarm that was grouped but not reported by the operator's own triage went into a review queue. I also added a counter for alarms that enter the window and never leave it through the emit path, with an alert at any non-zero value. That counter found one bug in the window eviction logic during shadow mode, which I fixed before enabling anything.
Rollout. The stage sat behind a per-market feature flag. The raw alarm stream stayed persisted, so suppression could be turned off and the full history replayed. That reversibility mattered more to the operator than the ticket reduction did.
What I'd change. I'd put the topology version into each group record from the start. Two incidents were hard to analyse because we couldn't tell which topology snapshot had produced a grouping.
The part I'd want the interviewer to probe is the shadow-mode comparison, because that's where I found out the design was wrong and where the evidence for the rollout came from.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-6How would you explain technical concepts to non-technical people?
Reported in Ericsson Software Engineer interview experience (September 2026)
The 90-second answer
First I'd find out what decision the listener has to make. A product manager deciding whether to ship a feature, or a customer's operations lead deciding whether to escalate an outage, needs something different from an engineer who wants the mechanism. Once I know the decision, I lead with its consequence, then give one picture that carries the mechanism, then one number they can repeat.
Example, hypothetical figures: a gNB software change raises handover failure rate from 0.4% to 1.1% in one cluster. I wouldn't open with "the target cell's admission control rejects the UE context transfer." I'd say: "Phones moving between towers are failing to hand over about three times as often since Tuesday's change. Roughly 1 in 90 moves now drops the call, up from 1 in 250. Engineering has a fix in test and I'd recommend holding the rollout to the other clusters until it lands." The picture is the mechanism: a handover is a handshake that must finish before the phone leaves the old cell, and the change made the new cell slower to accept it.
The analogy has to be checked against the thing it describes. "Like a relay baton" is fine until someone asks what happens on a timeout, and then the listener has a wrong model that sounds right. I'd say so out loud: "the analogy stops working when the handshake times out."
Failure modes I watch for
| Failure | What it looks like | What I do |
|---|---|---|
| Jargon smuggled in | "the X2 interface was saturated" with no definition | Replace with the function it performs, keep the term only if they need to search for it later |
| Analogy that misleads | Listener repeats the analogy and gets the wrong fix | Name where it breaks |
| False precision | "Latency is 37.4 ms" when the decision needs "under 50 ms" | Give the threshold the decision depends on |
| Hiding the trade-off | "It's faster" with no cost | Say what it costs, memory or failure risk, in the same sentence |
Detection is simple: I ask them to restate the decision and the next step in their own words. If they can't, the explanation was about the system, not for the listener.
When to stop simplifying
Some audiences need the precise version even when they can't follow all of it. A customer's SLA claim, a regulator's question, or a contract clause with a number in it should be stated exactly, with the caveat stated plainly. I'd rather say "I'll give you the exact figure in writing and it depends on the traffic mix" than give a clean sentence that later turns out wrong.
So the method is: decision first, consequence second, one faithful picture, one repeatable number, and an honest boundary on where the picture stops being true.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-7Describe a time you disagreed with a teammate. How did you handle it?
Reported in Ericsson Software Engineer interview experience (September 2026)
The 90-second answer
I pick a disagreement that was about a technical decision with evidence on both sides, and I say up front that the outcome mattered more than who was right. My example: a colleague and I disagreed about whether a retry-with-backoff change in a configuration sync service should merge before we had a fault-injection test. He thought the existing soak test would catch problems. I thought it would not catch a partition during a config push.
We did not settle it by repeating our positions in review comments. I wrote down the specific failure I was worried about and measured it on a lab setup. Hypothetical figures for illustration: with the old fixed 1 s retry, 40 nodes reconnecting after a partition produced about 40 requests per second. With his change and no jitter cap, the same reconnect produced about 1,600 requests in the first 10 seconds. Once we had those numbers, we agreed the change was right but needed a cap and jitter. I wrote the fault-injection test, he owned the patch, and the test went into the pipeline with the merge.
Choosing how hard to push
| Situation | What I do |
|---|---|
| Disagreement is about behaviour you can measure | Build the smallest test or benchmark that separates the options |
| Disagreement is about style or naming | Defer to the component owner and move on |
| Two rounds of comments with no new information | Stop commenting and take it to a short design review |
| Decision is outside the team's component | Raise it with the owning team, not in your review thread |
I keep review comments about what the code does, not about the author. In Ericsson's setting a wrong decision can reach a live network, so I push harder on failure modes and less on preference.
Where this goes wrong
I have pushed too hard on a naming argument and lost a week to it. Before I argue now, I ask whether the outcome changes what we ship or how it fails. If it doesn't, I drop it. I also avoid winning a point in a meeting and then losing the teammate: after a disagreement I follow up privately with what I got wrong, if anything, and I say when the other person's option turned out better.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-8Walk me through the core OOP principles, multithreading, collections and streams in Java, and how streams actually work.
Reported in Ericsson Software Engineer interview experience (August 2026)
The 90-second answer
I'd take these in the order they show up in production code. The object model decides what the data looks like, collections decide how it's stored and searched, threads decide who touches it at the same time, and streams express transformations over collections. I'd assume Java 21 (LTS) running as a service.
OOP. Encapsulation keeps state behind methods so invariants are enforced in one place. Inheritance models a stable 'is-a' contract, and I reach for composition first (a field holding a collaborator) because changes to a base class ripple into every subclass. Polymorphism lets callers depend on an interface, so the implementation can change without touching them. Abstraction is the interface itself, shaped by what callers need.
Collections. Pick by access pattern. ArrayList gives contiguous indexed reads. HashMap gives average O(1) get and put; default capacity is 16 with load factor 0.75, so it resizes once it passes 12 entries. A bin treeifies into a red-black tree only when it holds 8 entries and the table has at least 64 buckets. Keys need consistent equals and hashCode, or lookups silently fail after the key is mutated. LinkedList is rarely faster than ArrayList in practice because of pointer chasing.
Map<String, Integer> counts = new HashMap<>();
counts.merge("shipped", 1, Integer::sum); // atomic read-modify-write on a single threadMultithreading. Shared mutable state needs a happens-before edge. synchronized gives mutual exclusion and visibility. volatile gives visibility and ordering for one variable, but it does not make check-then-act atomic. For hot counters under contention, use LongAdder. Don't create a raw thread per request: use an ExecutorService with a bounded queue so overload shows up as rejections instead of unbounded memory growth. For shared maps, ConcurrentHashMap.compute is atomic per key, but a get followed by a put is not.
| Need | Choice | Failure if wrong |
|---|---|---|
| shared counter | AtomicLong or LongAdder | lost updates under ++ |
| shared map, compound update | ConcurrentHashMap.compute | duplicate work or lost writes between get and put |
| blocking I/O tasks | dedicated bounded executor | starved threads, unbounded queue growth |
Streams. A stream is a lazy pipeline. Intermediate operations (filter, map, sorted) only describe work. A terminal operation (collect, forEach, reduce, toList) runs it, and elements flow through one at a time, so filter plus findFirst stops early. sorted() is a stateful barrier that buffers everything before emitting. A stream is single-use: reusing one throws IllegalStateException. Parallel streams run on the common ForkJoinPool, sized to cores minus one, so a blocking call inside parallel() starves every other parallel stream in the JVM. Keep side effects out of forEach over shared state.
List<String> customers = orders.stream()
.filter(Order::isOpen)
.map(Order::customer)
.distinct()
.toList(); // nothing executes before this terminal calltoList() returns an unmodifiable list since Java 16. If a candidate can explain why the pipeline above does no work until toList(), and why sorted() breaks streaming, they have covered the core of it.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-9What is the difference between a process and a thread?
Reported in Ericsson Software Engineer Interview Guide (2026)
The 60-second answer
A process is an isolated address space plus the kernel state attached to it: file descriptors, credentials, signal dispositions, and at least one thread. A thread is a unit of execution inside a process. Threads in the same process share the address space and descriptors, so they read and write the same memory directly. Processes don't share memory by default, so they communicate through IPC: pipes, sockets, or a deliberately mapped shared memory segment. On Linux both come from clone(2), and the flags decide what is shared. fork shares almost nothing (copy-on-write pages), while pthread_create passes CLONE_VM and shares nearly everything.
The practical consequence is a trade between isolation and cost. Isolation buys fault containment. Sharing buys cheap communication and cheap creation, but it puts every shared structure under synchronisation.
| Process | Thread | |
|---|---|---|
| Address space | private (copy-on-write after fork) | shared |
| Creation | fork plus page-table copy, heavier | clone with CLONE_VM, lighter |
| Communication | IPC (pipes, sockets, shm) | direct memory access, needs locks |
| Crash of one unit | kernel tears down that process only | a fatal signal such as SIGSEGV kills the whole process |
| Kernel scheduling | own PID, scheduled as a task | own TID, scheduled as a task |
Why it matters in a telecom loop. A call-control or O&M daemon that must survive a bad worker is usually split into processes under a supervisor, so one crashing worker is restarted without taking the node process down. Inside one process, threads handle I/O and parallel work over shared state such as a routing table or a counter. I'd check which of those the interviewer means before answering further. Erlang/OTP is a separate case: its processes are lightweight user-space entities scheduled by the BEAM across schedulers, not OS processes or threads, and they share no memory, so message passing is the only communication path.
Worked trace. Four threads each run hits++ one million times on a shared long hits. The increment is a read, add, and write with no atomicity, so updates get lost and the final value is typically well under 4,000,000 (exact result varies per run). Replacing it with atomic_fetch_add or guarding it with a mutex makes the total exactly 4,000,000. A forked child incrementing its own copy leaves the parent's count untouched, which is the isolation side of the same trade.
Failure modes and how to detect them
- Data race on shared state: intermittent wrong totals. Detect with ThreadSanitizer (
-fsanitize=thread) or a stress run under load. forkin a multithreaded program copies only the calling thread, so a mutex held by another thread stays locked forever in the child. Child code should only call async-signal-safe functions beforeexec.- Leaked descriptors across
forkunless opened withO_CLOEXEC. Detect withls /proc/<pid>/fd. - Thread stacks default to the
RLIMIT_STACKvalue, 8 MiB on common glibc Linux setups. A thousand threads reserve about 8 GB of virtual address space, though resident memory is much smaller. Check withulimit -sand pthread attributes. - Process and thread count limits (
ulimit -u,threads-max) turn intoEAGAINfromforkorpthread_createunder load, so check return codes rather than assuming creation succeeds.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-10What is the difference between containers and virtual machines?
Reported in Ericsson Software Engineer interview experience (November 2024)
The 90-second answer
A virtual machine virtualises hardware. A hypervisor such as KVM, Hyper-V or ESXi presents each guest with its own virtual CPU, memory, disk and NIC, and each guest runs a complete kernel. A container virtualises the operating system. Containers are ordinary processes on the host kernel, isolated with Linux namespaces (pid, net, mnt, uts, ipc, user) and limited with cgroups. Nothing is emulated, so a container has no boot sequence and no second kernel.
The consequence I'd lead with: a container shares the host kernel, so it can only run what that kernel supports, and the isolation boundary is the kernel's syscall interface. A VM has a hardware-level boundary, so it can run a different OS or kernel, and a guest kernel bug does not directly expose the host. That is why multi-tenant untrusted workloads usually sit in VMs, or in containers wrapped by a VM (Kata Containers, Firecracker-based runtimes), not in bare containers.
Assumptions I'd state: Linux hosts, a modern kernel (5.x or later), and a runtime such as containerd or CRI-O running OCI images.
| Property | Container | Virtual machine |
|---|---|---|
| Isolation boundary | Kernel (namespaces, cgroups, seccomp, capabilities) | Hypervisor and virtual hardware |
| Kernel | Shared with host | Own guest kernel |
| Start time | Typically well under a second for a small image | Tens of seconds for a typical guest boot |
| Memory overhead per instance | Mostly the app's own usage | Guest kernel and OS plus hypervisor overhead, often hundreds of MB |
| Density on one host | Dozens to hundreds of small services | Usually far fewer |
| Different OS per instance | No (Linux containers need a Linux kernel) | Yes |
Trace of a request to start a container. docker run --memory=256m --cpus=0.5 nginx results in: the runtime calls clone() with CLONE_NEWPID|CLONE_NEWNET|CLONE_NEWNS and friends, writes the memory limit to the cgroup memory.max, and execs nginx as PID 1 inside the new pid namespace. From the host, ps shows an ordinary process with a host PID. No guest kernel is booted at any point.
Failure modes I'd name in an interview:
- Noisy neighbour through the shared kernel: one container exhausting the PID table or file descriptors affects others unless
pids.maxandnofilelimits are set. Detect with per-cgroupmemory.eventsandpids.events. - Assuming VM-grade isolation: a container running as root with
CAP_SYS_ADMINor a writable/proc/sysis close to host root. Run non-root, drop capabilities, and apply a seccomp profile. - Kernel version drift: a base image works on the build machine but the production node runs an older kernel missing a syscall the app needs.
When I would not use containers alone: hostile multi-tenancy, workloads needing a different kernel or a kernel module the host can't load, and compliance regimes that require hardware-level separation. For telecom network functions at Ericsson, the usual pattern is containers on a VM or bare-metal host with a hardware-backed boundary and strict resource pinning, so I'd ask which isolation and latency requirements the function has before choosing.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-11What are the advantages of microservices over monolithic architectures?
Reported in Ericsson Software Engineer interview experience (November 2024)
The 60-second answer
Microservices buy independent deployment, independent scaling and fault isolation, and the price is network calls and operational overhead. The advantage is organisational as much as technical: each service has one owning team, its own release cadence and a data store it owns, so a change to charging does not wait on a release train for the whole product. I would structure the answer around those three properties, then say where a monolith is the better choice.
Independent deployment. A monolith ships every change as one artefact, so release frequency is set by the slowest team. With services, one team can roll out a new version of its service through a Kubernetes rolling update while the rest of the system stays untouched.
Independent scaling. Suppose session management handles 12,000 requests per second at peak and policy handles 800. In a monolith you scale the whole process to meet the hottest path. With services, if each pod sustains 400 rps, session management needs 30 pods and policy needs 2. These figures are hypothetical, but the arithmetic is the point: capacity follows the hot path.
Fault isolation. A memory leak in the reporting function restarts only that workload, and a circuit breaker on each caller limits the blast radius. In a monolith the same leak takes down the process that also serves signalling.
Failure modes you must name. A local method call becomes a network call. Take five synchronous hops, each with p99 of 20 ms: the caller's tail latency under contention is well above 100 ms, so latency budgets and timeouts must be set per hop. Partial failure is the other one. A timeout does not tell you whether the downstream write committed. Use idempotency keys and an outbox, and propagate one trace id across services with OpenTelemetry so a single request can be followed end to end.
Data ownership is where teams get it wrong. If two services share a database schema you have a distributed monolith with extra latency. Each service owns its store, and cross-service consistency is handled by sagas or eventual consistency, not by a two-phase commit spanning services.
When not to use it. A small team with one deployment unit, low traffic and a domain it does not yet understand is better served by a modular monolith. Extract services once the boundaries have proven themselves. Microservices also add platform cost: service discovery, mTLS, a CI pipeline per service, and on-call for each runtime.
For Ericsson specifically. The same reasoning applies to cloud-native network functions on Kubernetes. The benefit is upgrading one function in a live network without touching its neighbours, but the interfaces between functions are standardised, so their latency and failure behaviour are part of the contract that must be tested.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-12Find the second-highest salary in a SQL table.
Reported in Ericsson Software Engineer interview experience (July 2026)
The 60-second answer
I'd confirm three assumptions first: the table is employees(id, salary), salary is a numeric column, and second-highest means the second distinct value. If two people share the top salary, the answer is still the next lower value. If no second value exists, the answer is NULL, not an error. I'll write ANSI-style SQL and note where dialects differ.
The simplest form reads like the definition: the largest salary that is below the maximum.
SELECT MAX(salary) AS second_highest
FROM employees
WHERE salary < (SELECT MAX(salary) FROM employees);MAX ignores NULLs, so NULL salaries drop out of both the inner and outer aggregate. If every salary is equal, the outer WHERE matches nothing and MAX returns NULL.
Trace. Take rows 100, 300, 300, 200, NULL. The inner MAX is 300. The outer filter keeps 100 and 200, and MAX of those is 200. The duplicate 300 is excluded by the strict <, which is why this handles ties correctly.
The general form: Nth highest. Interviewers usually follow up with 'what about the third?' That needs a ranking function:
SELECT DISTINCT salary
FROM (
SELECT salary,
DENSE_RANK() OVER (ORDER BY salary DESC) AS r
FROM employees
WHERE salary IS NOT NULL
) t
WHERE r = 2;On the trace, the ranks are 300→1, 300→1, 200→2, 100→3, so the query returns 200. Change r = 2 to r = N for the Nth highest. The choice of DENSE_RANK over RANK matters: RANK gives 1, 1, 3, so r = 2 returns no row, because ties consume a rank number.
Pitfalls
| Approach | What goes wrong | Result on the trace |
|---|---|---|
ORDER BY salary DESC LIMIT 1 OFFSET 1 | No DISTINCT, so the duplicate 300 takes offset 0 | 300 (wrong) |
Same, with DISTINCT but no NULL filter (PostgreSQL) | NULLs sort first under DESC, so offset 1 lands on 300 | 300 (wrong) |
RANK() ... = 2 | Ties skip rank 2 | no row |
NOT IN (SELECT MAX(salary) ...) | Any NULL in the subquery makes NOT IN return no rows | no row when NULLs are present |
For Oracle 12c and later, replace LIMIT/OFFSET with OFFSET 1 ROWS FETCH NEXT 1 ROWS ONLY.
Performance. With an index on salary, the MAX form is two index probes and scales well. The window form needs a sort, or a top-N heap if the optimizer can use the index, over the whole table. I'd check the plan with EXPLAIN before choosing it for a large table. I'd also state the NULL result explicitly in the answer, since a caller that expects a row will break on NULL.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-13How do JOIN and UNION differ?
Reported in Ericsson Software Engineer interview experience (July 2026)
The 90-second answer
JOIN combines columns horizontally. It matches rows from two inputs on a condition and returns one wider row per match. UNION stacks rows vertically. It appends one query's result under another's, and the output takes its column names from the first query. Both take two inputs, but they answer different questions. JOIN asks what is known about one entity across tables. UNION asks which rows exist across these sources.
Before writing either, I check three things: whether the inputs share a key, whether the column count and types line up, and whether duplicates should survive.
Trace with hypothetical data:
| cells | cell_id | site |
|---|---|---|
| C1 | Stockholm | |
| C2 | Gothenburg |
| alarms | alarm_id | cell_id | severity |
|---|---|---|---|
| 101 | C1 | critical | |
| 102 | C1 | minor | |
| 103 | C3 | major |
SELECT a.alarm_id, c.site
FROM alarms a
JOIN cells c ON c.cell_id = a.cell_id;
-- 101 Stockholm, 102 Stockholm. Alarm 103 is dropped: C3 has no cells row.
SELECT a.alarm_id, c.site
FROM alarms a
LEFT JOIN cells c ON c.cell_id = a.cell_id;
-- same two rows, plus 103 with site NULL.Now stacking. Suppose site A and site B each export their own alarm table with the same schema:
SELECT cell_id FROM alarms_site_a
UNION ALL
SELECT cell_id FROM alarms_site_b; -- every row from both sites, duplicates kept
SELECT cell_id FROM alarms_site_a
UNION
SELECT cell_id FROM alarms_site_b; -- C1 appears onceUNION without ALL removes duplicates, which means a sort or hash over the combined rows. That cost is real when each side holds tens of millions of rows. If the sources are disjoint by construction, such as partitions by node, use UNION ALL and skip the work.
Failure modes I watch for
- Join fan-out. If the join key is not unique on one side, each match multiplies rows. Joining alarms to a per-cell table that has two rows per cell doubles every count and sum. Detect it by comparing row counts before and after the join, and by checking that the key is unique on the side you think it is.
- Silent NULL behaviour. ON a.x = b.x never matches NULLs. UNION, however, treats NULLs as equal when it removes duplicates. The same data can look like it joins fewer rows than expected while the union collapses them.
- Column mismatch. UNION requires the same number of columns and compatible types. When types coerce implicitly, a column can change meaning without an error. Name and cast columns explicitly in each branch.
- Ordering. ORDER BY at the end of a UNION applies to the whole result. Ordering a single branch needs parentheses or a subquery, and dialects differ on this, so check the specific engine.
When not to use each
Do not stack tables with UNION and then pivot them to fake a join. That produces the right-looking columns from the wrong row alignment. Do not use JOIN to append rows from partitions that share a schema. The result is a cross product of partitions, not a combined list.
In an interview I would say the rule in one line: JOIN needs a key and returns columns, UNION needs matching shapes and returns rows, and UNION ALL is the default I reach for when duplicates cannot occur.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-14What is the fastest known comparison-based sorting algorithm for large, unordered sequences?
Reported in Ericsson Software Engineer interview experience (March 2025)
The 90-second answer
There isn't one that is fastest in all cases. For comparison sorts, the worst case is bounded below by Ω(n log n), so no comparison sort beats that asymptotically. What matters in practice is which n log n algorithm fits the data and the runtime. For general-purpose in-memory sorting I'd use the library sort: introsort in C++ std::sort, pdqsort in Go's sort and Rust's sort_unstable, dual-pivot quicksort for primitives in Java, and TimSort for objects in Java and Python's list.sort. Before I pick, I'd ask three things: are keys primitive or objects, do I need stability, and does the data fit in memory.
Why n log n is the floor
A comparison sort is a decision tree. It has to distinguish n! possible input orderings, and each binary comparison splits the candidates at most in half, so it needs at least log2(n!) comparisons. Stirling gives log2(n!) ≈ n log2 n − 1.44n. Worked numbers for n = 10^6 (hypothetical sizing, the arithmetic is exact):
| Quantity | Value |
|---|---|
| n log2 n | ≈ 19.93 × 10^6 |
| log2(n!) lower bound | ≈ 18.49 × 10^6 |
| Gap from bound, typical introsort | roughly 1.2–1.5× the bound in comparisons |
The gap is in constants: cache misses, branch mispredictions and comparator cost. That is where real speed comes from.
Choosing the algorithm
| Case | Choice | Why |
|---|---|---|
| Primitives, no stability needed | introsort / pdqsort / dual-pivot quicksort | in-place, cache friendly, O(n log n) worst case via heapsort fallback |
| Objects, stability required | TimSort (Java Collections.sort, Python) | adaptive, O(n) on presorted runs, stable |
| Integers with bounded width | radix sort | O(w·n), not comparison-based, so it sidesteps the bound |
| Data exceeds RAM | external merge sort | sorted runs on disk, k-way merge, I/O is the cost |
| Many cores | parallel merge or sample sort | scales if the merge phase is not the bottleneck |
For Ericsson-style workloads, such as ordering alarms by timestamp or sorting PM counter samples before aggregation, the keys are usually timestamps or integer IDs, and the rows are often nearly sorted already. That makes TimSort or a radix sort on the key a better answer than the textbook quicksort.
Failure modes I'd check
- Quicksort degrades to O(n²) on adversarial or many-duplicate input if pivot selection is naive. Introsort and pdqsort guard against this by switching to heapsort at a depth limit. Detect it by watching comparisons per element on real traces, not by assuming.
- Java's TimSort throws
IllegalArgumentException: Comparison method violates its general contract!when a comparator is not a total order, for example one that subtracts twointtimestamps and overflows. Fix the comparator withLong.compareorInteger.compare. - Unstable sorts break multi-key pipelines where a secondary order was established earlier. Check the API's stability guarantee:
std::sortis not stable,std::stable_sortis. Arrays.sorton objects in Java is stable by contract, and on primitives it is not relevant. Don't assume the behaviour carries across languages.
What I'd say to close the question
No comparison sort beats n log n in the worst case. For real workloads I pick the library sort, and I switch to radix or external merge only when keys, memory or stability force me. I'd benchmark with the actual key distribution before claiming one is faster.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-15Find the length of the longest substring without duplicate characters.
Reported in Ericsson Software Engineer interview experience (April 2025)
The 90-second answer
I'd clarify two things first: is the input ASCII or arbitrary Unicode, and is the answer needed for one string or a stream? I'll assume a single string of code points. The brute force is to check every substring, which is O(n²) substrings with O(n) checks each. A sliding window does it in one pass: keep left and right pointers so s[left..right] never has a repeat, and a map from each character to the index where it last appeared. When right reaches a character already inside the window, move left just past its previous occurrence. Track the maximum window width as you go.
The detail that decides whether the solution is correct: a remembered index may lie before the current window. For abba, the second a was last seen at index 0, but the window has already moved to start at index 2. Moving left backwards would double-count, so the update must be left = max(left, prev + 1), or equivalently only act when prev >= left.
Python 3.12 version, checked against the language reference:
def longest_unique(s: str) -> int: last = {}; left = best = 0; for right, ch in enumerate(s): prev = last.get(ch, -1); if prev >= left: left = prev + 1; last[ch] = right; best = max(best, right - left + 1); return best
Trace on abcabcbb: the window grows to abc (best 3), then at the second a (index 3) left moves from 0 to 1, the window is bca, and so on. Final answer 3.
Complexity. Time is O(n), since each pointer only moves forward. Space is O(min(n, σ)), where σ is the alphabet size. For bytes in a fixed-size array of 256 entries, the map becomes last[256] initialised to -1, which avoids hashing in tight loops. That matters on embedded or telecom data paths where the input is a byte stream and allocations are restricted.
Failure modes to name. Off-by-one on the width (it is right - left + 1, not right - left). Counting code units instead of code points for UTF-16 or UTF-8 input, so an emoji counts as two characters in Java and some C++ code. Forgetting that the map is not cleared between windows, which is fine here but wrong if you reset it by mistake. Returning the substring instead of its length when the question asks for the length.
When not to use it. If you need the substring itself, return s[best_left:best_right] by storing indices, not a copy in every iteration. If the stream is unbounded, you cannot keep last for all characters forever; you would bound it by the alphabet and use the same logic.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-16Implement first-in-first-out behavior without using the queue data structure.
Reported in Ericsson Software Engineer interview experience (March 2026)
Opening answer (about 90 seconds)
I'd use two stacks. Pushes go onto in. Pops come from out. When out is empty, I move everything from in into out, which reverses the order, so the oldest element ends up on top. Each element moves at most once from in to out, so n operations cost O(n) in total, which is O(1) amortized per operation. One dequeue in the worst case is O(n), because it can trigger the transfer. I'd confirm with the interviewer whether they care about amortized or worst-case bounds, and whether the structure is shared between threads, since that changes the design.
// Java 17
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.NoSuchElementException;
public final class FifoViaStacks<T> {
private final Deque<T> in = new ArrayDeque<>(); // used only as a stack: push/pop
private final Deque<T> out = new ArrayDeque<>();
public void enqueue(T item) {
if (item == null) throw new NullPointerException();
in.push(item);
}
public T dequeue() {
if (out.isEmpty()) {
while (!in.isEmpty()) out.push(in.pop());
}
if (out.isEmpty()) throw new NoSuchElementException();
return out.pop();
}
public boolean isEmpty() {
return in.isEmpty() && out.isEmpty();
}
}Trace. Enqueue 1, 2, 3. in holds [3, 2, 1] with 3 on top. The first dequeue finds out empty and moves the items: pop 3 and push to out, pop 2 and push, pop 1 and push. out now has 1 on top. out.pop() returns 1. The next dequeue returns 2 straight from out with no transfer. Enqueue 4 then goes onto in, and it waits behind 3 until out drains. Order is preserved because out is only refilled when it is empty.
Why it works. Each transfer reverses the contents of in, and two reversals restore the original order. The invariant is that everything in out is older than everything in in.
Failure modes
- A single dequeue after a long run of enqueues stalls for O(n). With a million buffered items the transfer is visible as a latency spike, so this design is a poor fit for a strict per-call latency budget.
- The class is not thread-safe. Two threads can interleave the transfer and lose or duplicate items. Wrapping methods in a lock fixes correctness but serializes all callers.
- Memory is unbounded.
ArrayDequegrows, and in a telecom path that is often the bug that matters.
Alternative I'd pick for a bounded, real-time path. A fixed-capacity ring buffer over an array: keep head, tail and size, and index with (head + k) % capacity. Enqueue and dequeue are both O(1) worst case with no allocation after construction. Overflow becomes an explicit decision (reject, overwrite oldest, or block) rather than a silent heap growth. For concurrency, a single-producer single-consumer ring can use atomic head and tail indices without a lock.
When not to use the two-stack version. When you need worst-case bounds, bounded memory, or multiple threads. It is a good answer for an in-memory, single-threaded, throughput-oriented job where amortized cost is acceptable.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-17Write an algorithm that fills the inside of a shape whose outline is already drawn.
Reported in Ericsson Software Engineer Interview Guide (2026)
The 90-second answer
First I'd pin down the input. I'm assuming a raster: a W×H grid where the outline is a boundary colour B, the interior is a single colour T, and I'm given a seed pixel inside. If the shape is a vector path instead, the answer changes (see the last section). Connectivity matters: I'd fill 4-connected (up, down, left, right), which means the outline must be 8-connected or diagonal gaps leak. Then I'd use an iterative flood fill with an explicit stack, not recursion.
static void fill(int[][] g, int sx, int sy, int target, int repl) {
if (target == repl || g[sy][sx] != target) return;
int h = g.length, w = g[0].length;
Deque<int[]> stack = new ArrayDeque<>();
stack.push(new int[]{sx, sy});
while (!stack.isEmpty()) {
int[] p = stack.pop();
int x = p[0], y = p[1];
if (x < 0 || y < 0 || x >= w || y >= h) continue;
if (g[y][x] != target) continue;
g[y][x] = repl;
stack.push(new int[]{x + 1, y});
stack.push(new int[]{x - 1, y});
stack.push(new int[]{x, y + 1});
stack.push(new int[]{x, y - 1});
}
}Why not recursion: each pixel adds a frame. The default thread stack on a typical JVM holds a few thousand to tens of thousands of frames, and a 4000×3000 interior can need millions. That's a StackOverflowError on a shape that is perfectly valid.
Trace
B B B B B
B . . . B
B . B . B
B B B B BSeed (1,1), target '.', replacement 'F'. Each accepted pixel pushes 4 neighbours. Five pixels are interior, so 5 × 4 = 20 pushes. Five pops are accepted and 15 are rejected (outline pixels, already-filled pixels, or out of bounds). The pixel (2,2) is B, so it stays unfilled and nothing leaks through it.
Cost and memory
Time is O(W·H): each pixel is filled once and pushed at most four times. For 4000×3000 that is 12,000,000 pixels. The grid alone is 48 MB as int[][] at 4 bytes per cell, so I'd store bytes if memory matters. The stack is the real risk: worst case it holds O(W·H) entries. A scanline variant fixes that: on popping a seed, extend left and right across the row to the span's ends, fill the span, then push one seed per span found in the rows above and below. The stack then stays proportional to the number of spans, not pixels.
Failure modes and detection
- Gap in the outline: the fill escapes to the image edge. Detect it by counting filled pixels against the expected area or by checking whether any filled pixel lies on the border.
- Seed on the outline or outside: the function returns without filling. Detect it by asserting g[sy][sx] == target and failing loudly.
- Antialiased edges: pixels near the boundary aren't exactly B, so the fill bleeds into the edge band. Fix it with a colour tolerance or by treating any pixel above a threshold as boundary.
- Stack exhaustion: keep the iterative version, and the scanline variant for large images.
When not to use this
If the outline is a mathematical polygon or path, flood fill is the wrong tool. Use scanline polygon fill: build an edge table, then for each row find the x-crossings of the edges, sort them, and fill between pairs. Even-odd and nonzero winding rules differ only in how you count crossings, and the rule must match what the renderer expects.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-18What is Kubernetes conceptually, and how do you write for it?
Reported in Ericsson Software Engineer Interview Guide (2026)
The 60-second answer
Kubernetes is a control loop around a declared desired state. You write objects (Pods, Deployments, Services, ConfigMaps) to the API server, which persists them in etcd. Controllers watch those objects and act on the gap between desired and actual state. Nothing is started by a script that runs once. The cluster converges, and it keeps converging after a node or process fails.
I'd split it into three layers. The API holds declarative objects, each with apiVersion, kind, metadata, spec and a status written back by the system. Controllers do the work: the Deployment controller maintains a ReplicaSet, the ReplicaSet keeps the right number of Pods alive, and the scheduler binds unassigned Pods to nodes. The kubelet on each node asks the container runtime to run the containers and reports their status upward.
How I write for it
For a stateless service I'd write a Deployment and a Service, and the Deployment carries most of the decisions:
apiVersion: apps/v1
kind: Deployment
metadata:
name: session-mgr
spec:
replicas: 3
selector:
matchLabels: {app: session-mgr}
template:
metadata:
labels: {app: session-mgr}
spec:
containers:
- name: session-mgr
image: registry.example.com/session-mgr:1.4.2
resources:
requests: {cpu: 500m, memory: 512Mi}
limits: {memory: 512Mi}
readinessProbe:
httpGet: {path: /ready, port: 8080}
periodSeconds: 5
livenessProbe:
httpGet: {path: /live, port: 8080}
initialDelaySeconds: 30Three decisions in that file matter more than the rest. The image is pinned to a tag, so a rollback means reapplying a known spec, not hoping latest still works. Requests drive scheduling, and a Pod with no requests is the first one evicted under node memory pressure. Readiness gates traffic while liveness restarts the container, so liveness should check only the process itself. A liveness probe that calls a slow dependency produces restart storms during the very outage you were trying to ride out.
Failure modes and how I detect them
- A rollout stalls on a readiness failure.
kubectl rollout status deployment/session-mgrtimes out and the old ReplicaSet keeps serving, which is the behaviour you want. - Pods sit in
PendingwithFailedScheduling. Requests exceed what any node has free. Check withkubectl describe pod. CrashLoopBackOffwith a rising restart count. Usually a liveness probe that is too aggressive or a bad config. Checkkubectl logs --previous.- A node drain takes every replica down at once. Add a PodDisruptionBudget with
minAvailable: 2so the drain waits.
For Deployments, maxUnavailable and maxSurge both default to 25%. With 3 replicas that rounds to 0 unavailable and 1 surge, so a rolling update never drops below full capacity. That is a useful thing to say out loud because it shows you know what the defaults do.
When not to use the default shape
A bare Pod has no controller and nothing reschedules it. A StatefulSet gives stable identity and per-replica storage, which a session store needs. Helm handles templating across environments. An Operator encodes domain logic a generic controller cannot. For telecom workloads, assume SR-IOV, CPU pinning and host networking are not defaults. Each needs explicit node configuration, and I'd confirm that with the platform team before promising a latency number.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-19What REST API design principles would you apply?
Reported in Ericsson Software Engineer interview experience (November 2024)
Opening answer (about 90 seconds)
I start from the consumers, because a northbound API used by operators and OSS tooling tolerates breaking change much less than a call between two services I own. Then I apply five principles. Resources are nouns, and the HTTP method carries the verb. GET is safe, PUT and DELETE are idempotent, and POST needs an Idempotency-Key wherever a retry could duplicate work. Each request carries its own auth and version, so any replica can serve it. Caching is declared explicitly with Cache-Control and ETag. Errors follow one model everywhere.
| Principle | What it means in practice | What breaks without it |
|---|---|---|
| Nouns, method as verb | PATCH /cells/{id} for a config change | Clients guess endpoint names per release |
| Idempotent writes | Idempotency-Key on POST, stored 24 h | Timeout retries create duplicate objects |
| Conditional update | If-Match: <etag> on PATCH and PUT | Last writer silently wins |
| Stateless requests | Token and version per request | Sticky sessions, uneven load |
| One error model | RFC 9457 application/problem+json plus a stable code | Clients parse prose strings |
The concurrency case
Two operators edit the same cell (hypothetical figures, illustrative only):
- Operator A and operator B both
GET /cells/nr-0042and receiveETag: "v7". - A sends
PATCHwithIf-Match: "v7"and gets200,ETag: "v8". - B sends
PATCHwithIf-Match: "v7"and gets412 Precondition Failed. B re-reads, sees A's change, and decides.
Without the precondition, B's write goes through and A's power setting disappears with no error on either side.
Status codes I would commit to
400malformed JSON,422valid JSON with a semantic problem (RFC 9110 calls it Unprocessable Content)409state conflict,412failed precondition429withRetry-Afterfor rate limits503when a dependency is down, rather than a generic500202plus a status resource for long-running operations, not200with a pending flag
Clients branch on the error code, not the status alone.
Versioning and pagination
I version the externally visible surface in the path (/v1) and treat removing a field, changing a type, or changing the meaning of a status as breaking. Adding fields is safe only if clients are required to ignore unknown fields, so I state that in the contract. For large collections I use keyset cursors, not offsets. Hypothetical: listing 2 million alarms with OFFSET 1900000 makes the database scan and discard that many rows on every page, and inserts shift rows between pages.
Failure modes and detection
- Retried
POSTwithout a key: detect by duplicate-key replay counts and duplicate natural keys. - Endpoints that force N+1 client calls: detect from per-client call sequences in access logs.
- Internal IDs leaking into URLs: review the contract against the data model before release.
- Breaking changes shipped under the same version: contract tests against the last published schema in CI.
I watch p99 latency and the 409, 412 and 429 rates per route. A rising 412 rate usually means clients are contending on the same resource.
When not to use REST
High-rate telemetry streams and internal RPC between tightly coupled components are better served by gRPC streaming or a message bus. REST suits the control plane, where requests are infrequent, cacheable, and need to be inspected by humans and tools.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-20Where do you see yourself in five years?
Reported in Ericsson Software Engineer interview experience (March 2025)
The 90-second answer
In five years I want to own a substantial part of a telecom system end to end: a component or service other teams depend on, with a clear interface, measured quality, and engineers I have helped grow. Technically, I expect to be the person people call when a hard failure shows up in the signalling or user-plane path, and to have moved from implementing features to shaping how we design and verify them.
I would tie that to the work itself. Telecom software follows 3GPP release schedules and operator roll-out windows, so I would rather describe the depth I want to reach than a job title.
What that looks like over time
| Horizon | Scope | What a manager could check |
|---|---|---|
| Year 1 | Owns a component's test suite and fixes production defects in it | Defect count in that component falls across two releases |
| Years 2-3 | Owns a feature from specification reading through field rollout | Feature ships on a release train without a rollback |
| Years 4-5 | Technical lead for a subsystem | I run the design reviews, and others pick up work from my design documents |
These are illustrative targets, not promises. Each one is something a manager can verify without taking my word for it.
Why I phrase it this way
Ambition statements fail when they name nothing observable. "I want to grow into a senior role" tells an interviewer nothing about what I would do on a Tuesday. Saying I want to be the engineer who can take a registration storm apart at 3 a.m., write the fix, and get the regression test into the suite is specific enough to hold me to.
What I would ask in return
I would ask which subsystems are likely to need technical leads in that window, and what the team has done with engineers who took on that kind of ownership. That tells me whether the five-year picture I've described is realistic here, and it lets me say so honestly rather than promising a path I cannot see.
Follow-ups to expect
If the interviewer asks what I would do if I found I wanted a different track, such as research or management, I would say so plainly and explain which of the Year 2-3 skills transfer to it. Staying flexible about direction is more credible than a rigid plan.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-21What does a perfect week look like to you?
Reported in Ericsson Software Engineer interview experience (August 2026)
The 90-second answer
A week where I finish one change that another team can run on real hardware, and nothing unplanned pulls me off it. For me that means the work is scoped before Monday, the tests exist before the code, and the review queue is short enough that nobody waits on me.
I can make that concrete. In a telecom product the feedback loop is slow, so I judge a week by how many cycles it gets through, not by how many lines I wrote.
| Day | Focus | Done when |
|---|---|---|
| Mon | Read the spec, agree the interface with the consumer team | Acceptance tests written and failing |
| Tue to Wed | Implement, one pairing session | Unit tests green locally, branch pushed |
| Thu | Review others' changes, run the lab suite | Review turnaround under 4 h, lab run queued |
| Fri | Fix what the lab found, update the runbook | Release candidate tagged, notes written |
The figures are targets I hold myself to, not measured results.
What would make the week go wrong
The usual failure is interruption without a ticket. If an incident lands on Tuesday, I want it triaged by the on-call rotation first, with a named owner, so I only take it on if the owner asks. I track how many hours of the week went to unplanned work. Above roughly a third, the plan was wrong, and I say so in the retro rather than absorbing it quietly.
The second failure is a flaky test that eats a day. A good week has a rule for that: if a failure can't be reproduced within two hours, it gets quarantined with an issue linked, and the change moves on. Quarantine is reviewed the following Monday so it doesn't become a graveyard.
Why this shape
Hardware-in-the-loop runs are the constraint. They are scarce and slow, so I want my changes queued into them early in the week, not on Friday afternoon with no time to act on the result. That is why Thursday is for review and lab submission rather than new code.
The week also needs a slot for something that isn't on the board: reading a design doc I wasn't asked to review, or answering a question from a junior engineer. I protect about two hours for that. It's usually where I learn which parts of the system will hurt in six months.
So a perfect week ends with a tagged candidate, a clean review queue, and a short list of what I'd change next time.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-22What are the five pillars of OOP?
Reported in Ericsson Software Engineer interview experience (April 2025)
The 90-second answer
The usual list has four pillars: encapsulation, abstraction, inheritance and polymorphism. I'd say that first, because there's no standard fifth. Some courses add modularity or message passing, so I'd ask which list the interviewer means and then answer the four.
Encapsulation keeps state private and changes it only through methods that can enforce an invariant. Abstraction gives callers a contract, such as an interface or a narrow type, and hides how the contract is implemented. People mix these two up. Encapsulation hides data, and abstraction hides complexity behind a chosen surface. Inheritance lets a subtype reuse and extend a base type's behaviour. Polymorphism lets one call site dispatch to different implementations at runtime.
// Java 17. Token refill omitted for brevity.
interface RateLimiter { // abstraction: callers see only this
boolean tryAcquire();
}
final class TokenBucket implements RateLimiter {
private final int capacity;
private int tokens; // encapsulation: invariant 0 <= tokens <= capacity
TokenBucket(int capacity) { this.capacity = capacity; this.tokens = capacity; }
public synchronized boolean tryAcquire() {
if (tokens == 0) return false;
tokens--;
return true;
}
}
class Gateway {
private final RateLimiter limiter; // polymorphism: any implementation works
Gateway(RateLimiter limiter) { this.limiter = limiter; }
String handle(String req) { return limiter.tryAcquire() ? "ok" : "429"; }
}| Pillar | What it buys you | Typical failure |
|---|---|---|
| Encapsulation | Invariants hold because only one class writes the state | Public fields let any caller break the invariant; shows up as impossible states in logs |
| Abstraction | Implementations can be swapped without touching callers | Interfaces that leak implementation detail, such as a method that only works with one backend |
| Inheritance | Shared behaviour in one place | Fragile base class: a subclass overrides a method the base calls internally, and a base refactor breaks it silently |
| Polymorphism | New behaviour without editing the call site | Overridden methods that change the contract, such as throwing where the base returns |
Inheritance is the pillar I use least. When a subclass only wants to reuse code, I compose instead. The Gateway above takes a RateLimiter rather than extending one, so a test can pass in a fake without touching the class hierarchy.
If the interviewer insists on five, I'd name modularity: separating components behind stable interfaces so they can be released independently. In a telecom stack that matters more than inheritance. Network functions are long-lived, and encapsulation and abstraction at component boundaries are what let one implementation be replaced across releases without a coordinated rebuild.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-23Explain Python's GIL problem.
Reported in Ericsson Software Engineer interview experience (August 2026)
The 90-second answer
The Global Interpreter Lock is a mutex inside CPython that lets only one thread execute Python bytecode at a time. The problem is that it makes threads useless for speeding up CPU-bound Python code on a multi-core machine, while threads still help for I/O-bound work because the lock is released while a thread waits on a socket, file or sleep. The usual fix for CPU-bound work is processes, or pushing the heavy loop into a C extension that releases the GIL.
Before I answer further I want to confirm the interpreter. The GIL is a CPython implementation detail. Free-threaded CPython (PEP 703) exists as an opt-in build from 3.13, but the default build still has the GIL.
Why it exists. CPython reference counts every object. Without a lock, two threads incrementing the same refcount race and objects leak or are freed early. One global lock is the cheapest way to make that safe, and it keeps C extensions simple.
What it costs. Take four CPU-bound threads that each need 1 s of pure Python work on one core-equivalent:
| Setup | Wall time (approx.) |
|---|---|
| 1 thread, 4 tasks sequential | ~4.0 s |
| 4 threads | ~4.0 s, plus switching overhead |
| 4 processes | ~1.0 s on 4 free cores |
The threads do not run in parallel, and the switching adds a little cost on top. The GIL is handed over every sys.getswitchinterval() seconds, 5 ms by default, so contention shows up as latency jitter rather than a hard stop.
Now the I/O case. Four threads each waiting 200 ms on an HTTP call with 10 ms of parsing: the waits overlap, so total time is roughly 200 ms + 40 ms, not 840 ms. This is why a threaded test harness that spends its life on SSH, REST or NETCONF sessions works fine.
Options and when to pick each.
concurrent.futures.ProcessPoolExecutorormultiprocessing: real parallelism, but arguments and results are pickled and each process carries its own memory. Worth it when task work dominates serialisation cost.- Threads with I/O-bound work: keep them. Use
asynciowhen you have thousands of connections. - C extensions such as NumPy release the GIL during heavy computation, so a thread pool over NumPy calls does scale.
- Free-threaded build: test it against your dependencies. Packages with C extensions need to be built for it, and single-thread performance and memory have changed, so measure before you commit.
Failure modes to name.
- A service that adds threads and sees no throughput gain. Detect it by comparing CPU utilisation per core: one core pinned near 100 % with others idle is the signature.
- Latency spikes for a thread doing short tasks while a CPU-bound thread holds the interpreter. Detect with per-request timing histograms, not averages.
- Shared mutable state assumed to be safe because of the GIL. It is not:
x += 1is several bytecodes and can interleave. Usethreading.Lockor design around queues.
Ericsson-specific framing. Most Python here sits in test automation, network management scripts and log or PM-counter processing. Test harnesses are I/O-bound, so threads are fine. Bulk parsing of counter files is CPU-bound, so I would split files across a process pool and keep each worker's output small enough to avoid pickling costs.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-24How would you mentor junior engineers?
Reported in Ericsson Software Engineer interview experience (November 2024)
The 90-second answer
I start by finding out where the junior engineer is actually stuck, not by handing them a reading list. On a telecom product, a new engineer can spend months on the build, the test bed and the protocol specs before touching anything that ships. So the first goal is a short loop: one small change merged within about two weeks, reviewed and understood.
Code review is where most of the mentoring happens. I review junior changes within one working day, and I label comments as blocking or learning, so they know what must change and what is worth understanding. I don't rewrite their patch. If I rewrite it, they learn my fix and not the reasoning behind it.
I track two things: whether they can debug a failing test without me, and whether they can explain the change they merged. If they cannot explain it, the next change gets paired.
| Stage | Weeks | Concrete goal | How I check it |
|---|---|---|---|
| Orientation | 1-2 | Build and run the unit suite locally | Clean run on their own machine |
| First merge | 3-4 | One bug fix with a regression test | Merged with no reviewer rewrite |
| Owned component | 5-12 | Own a small module and write one design note | Design note reviewed, one feature shipped |
| Independent | 13+ | Review other people's changes | Reviews need few rework cycles |
A worked trace. A junior's patch fails the nightly regression on a timer-handling test. I don't fix it for them. I ask them to reproduce with the failing seed, read the log around the timer expiry, and write down a hypothesis before running anything else. Then they test the hypothesis. That sequence (reproduce, hypothesise, test one variable) is the skill I'm teaching, and it transfers to every component they'll touch later.
Trade-offs. Pairing is expensive for the senior. Hypothetical figures: if a senior spends 3 hours a week across two juniors, that is about 7.5 percent of a 40-hour week. I time-box pairing to specific tasks and step back once the junior is independent on that area. Heavy review also slows the team if it becomes a bottleneck, so I keep a rule that any change waiting more than two days for review is escalated to another reviewer.
Failure modes and how I'd detect them.
- Over-reviewing: the junior's changes need many rework cycles, or they stop proposing changes. Detect it from review rounds per change over time in Gerrit.
- Under-reviewing: bad patterns get merged and show up in the nightly regression. Detect it from defects traced to recent junior merges.
- Mentoring by proxy: I assign them to a senior who never pairs. Detect it from the junior repeating the same question in review, which means nobody is answering it properly.
- Silent struggle: they don't ask for help for days. Ask for a short status note at the start of each week rather than waiting for them to raise it.
I'd finish with a check-in at week 6 and week 12 against that table. If the junior has moved past a stage, I move them on, and if they're stuck, I change the approach before the gap grows.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-25Describe a time you had to compromise or navigate a difficult situation.
Reported in Ericsson Software Engineer interview experience (October 2025)
The 90-second answer
The situation was a release train for a session-management service in a 5G core-style deployment, with a customer cutover date fixed by the operator. Two weeks before cut, our integration tests showed that the new session-state handler added about 35 ms to p99 attach latency under load, against a budget of 50 ms. The product owner wanted the full feature set, the platform team wanted the shared state library left untouched, and I owned the handler. My job was to get a decision that all three could live with, not to win the argument.
I started by separating the facts from the positions. The latency number was reproducible: I reran the load profile (hypothetical, for the example: 4,000 attaches/s, 20 workers) three times and got 33 to 37 ms. The cause was a synchronous write to the shared store on every state transition. The platform team's constraint was real too: changing the library meant a separate review cycle that would not finish before cut.
The compromise I proposed had three parts. First, ship the handler with the write batched per attach procedure rather than per transition, which cut the store round trips from four to one per attach and brought p99 to 41 ms in the rerun. Second, move the two non-essential state fields behind a feature flag defaulted off, so the product owner kept the path to enable them in the first maintenance window. Third, write down what was deferred and what the risk was, and get the operator's delivery lead to sign it.
What I'd defend in the room is the trade I did not make. I did not change the shared library under deadline, because that would have moved the risk to a team that could not test it in time. I also did not ship the full feature and hope the latency held in production, because the load test was the only evidence we had.
The part I got wrong: I first pitched the batching change in a group thread without telling the platform lead beforehand, and it read as a unilateral change to their store usage. I fixed that with a one-to-one before the next review, showing them the write pattern and asking what they would need to see. They added a check to the store dashboard, which we still use.
Follow-up you should expect
An interviewer will ask what you would do if the batched version had lost data on a crash. Be specific: batching per procedure means a crash mid-attach loses the uncommitted batch, so the procedure has to be retryable from the start, which it already was because attach is idempotent on the subscriber identifier. If it had not been, the answer would have been no batching, and the feature would have slipped.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Curated: · Written: · Reviewed: