eBay Software Engineer interview questions

34 Software Engineers have shared notes from their eBay interviews, with the questions they were asked in each round. That is 94% of the 36 eBay interview notes on Screna AI.

34 Software Engineer interview notes

eBay·Software Engineer·Onsite - System Design / Architecture

Jun 2026
Second round at eBay for a software engineer role, mixing leadership and system design. The interviewer dug into past project work pretty hard, specifically around design trade-offs and how problems got resolved. Not a soft conversation.
  • Walk me through a past project you owned and explain the technical design decisions you made.
  • What trade-offs did you consider when designing that system, and what did you end up deprioritizing?
  • Describe a significant problem you ran into during that project and how you resolved it.

“I had a story ready but the interviewer kept pulling threads I wasn't expecting.”

View Post

eBay·Software Engineer·Onsite - System Design / Architecture

Jun 2026
eBay system design round, one big question that kept expanding. Started with a simple top-K counter and by the end we were talking about distributed sharding, sketch algorithms, and windowed aggregation. Felt like I was always one step behind where they wanted me to be.
  • Design a distributed service that returns the top-K most frequent items over a high-throughput event stream. Cover the API, ingestion pipeline, approximate counting with sketches, sharding and merging, and time-window semantics.

“This started manageable and then just kept growing.”

View Post

eBay·Software Engineer·Technical Phone Screen

Jun 2026
eBay software engineer interview with a bitmap block management question. Pretty implementation-heavy for a phone screen, they wanted a full test driver not just the algorithm.
  • You're given a BitmapBlock class with methods to allocate contiguous blocks, search for free runs, and count fragmentation holes. Write a test driver that exercises the class end-to-end, including failure scenarios like overlapping allocations and a fully-allocated bitmap. Walk through what edge cases your driver covers.

“The part that tripped me up wasn't the happy path, it was they specifically wanted failure cases woven in.”

View Post

eBay·Software Engineer·Technical Phone Screen

Jun 2026
eBay software engineer interview with a tree problem that looked manageable until I actually had to track three things at once through a post-order traversal. Not the worst session but definitely made me second-guess my recursion instincts.
  • Given a binary tree, count how many subtrees satisfy two conditions simultaneously: the absolute difference between left and right subtree heights is at most 1, and the sum of all node values in the subtree is even.

“The two conditions together is what got me.”

View Post

eBay·Software Engineer·Onsite - Coding / Algorithms

Jun 2026
eBay software engineer interview with a coding round focused on designing an in-memory file system from scratch. Pretty straightforward if you've thought about hash maps before, but the listing requirement with custom sort order added some wrinkles worth thinking through.
  • Design an in-memory file system that supports adding files (with a name and size), retrieving a file's size, deleting files, and listing all files sorted by size descending with ties broken alphabetically. Discuss the data structures you'd use.

“I went straight to a hash map for the core CRUD stuff and that part was fine.”

View Post

eBay·Software Engineer·Onsite - Behavioral / Leadership

Jun 2026
Behavioral round at eBay for a software engineer role, pretty much one big question about a high-impact project you owned end to end. Not a lot of back and forth, just dig in and keep going.
  • Tell me about a project you worked on that had significant impact or scale. Walk me through the problem, how big it was (users, revenue, system size, org involvement), what you personally contributed, the trade-offs you navigated, and what the measurable outcome was.

“This is the kind of question where you think you have a good answer until you're actually in it.”

View Post

eBay·Software Engineer·Technical Phone Screen

May 2026
eBay coding round that extended a file system design problem with compression features. Pretty focused on state tracking and edge cases.
  • Extend a file system implementation with compressFile(name) and decompressFile(name) methods. compressFile should halve the file's size and return false if the file doesn't exist or is already compressed. decompressFile should restore the original size and return false if the file doesn't exist or isn't currently compressed.

“The core logic wasn't that hard but I fumbled the state tracking piece at first.”

View Post

eBay·Software Engineer·Technical Phone Screen

May 2026
eBay SWE interview focused on extending an in-memory file system across multiple rounds of added complexity. The final piece was an eviction policy on top of per-user storage, which is where things got interesting.
  • You're given an in-memory file system that already supports basic file operations, prefix/suffix search, and per-user storage quotas. Now add an updateCapacity(userId, newCapacity) method that evicts the user's files largest-first (ties broken alphabetically by name) until their total usage fits the new cap. Return the number of files evicted, or None if the user doesn't exist.

“The base system was already built up over earlier parts of the problem, so by the time eviction came up I had some context.”

View Post

eBay·Software Engineer·Technical Phone Screen

May 2026
eBay coding screen with a list partitioning problem that sounds straightforward until you actually try to implement it cleanly. The rules have a few edge cases that'll trip you up if you're not careful.
  • Given a list of numbers, split them into two sublists following a specific set of rules: for each incoming number, check if any existing list already contains a number greater than it, and if so, add it there. If not, add it to whichever list is shorter. Then merge both lists at the end.

“I read this twice and thought I had it, then wrote a solution that was totally wrong on the 'add to shorter list' fallback case.”

View Post

eBay·Software Engineer·Technical Phone Screen

May 2026
Did a technical phone screen for a software engineering role at eBay. One question, regex-focused, which sounds easy until you actually try to enumerate all the valid formats your pattern accepts.
  • Write a regular expression that matches valid US phone numbers (10 digits), where the area code can optionally be wrapped in parentheses and digits may be separated by dashes or other delimiter characters. How many distinct valid formats does your regex accept?

“I wrote something reasonable pretty fast but then the follow-up about counting distinct formats tripped me up.”

View Post