eBay Coding Interview Questions
25 eBay coding interview problems with full optimal solutions — 8 easy, 12 medium, 5 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an eBay interviewer values, and a FAQ section.
Showing 3 problems of 25
- #3mediumvery frequently asked
3. Longest Substring Without Repeating Characters
eBay's search autocomplete and suggestion engine needs to deduplicate character sequences in query strings efficiently. This sliding-window problem is a medium staple in eBay's onsite loop because it requires coordinating a Set and two pointers to achieve O(n) — a clean test of sliding-window mastery before harder variants.
- #146mediumvery frequently asked
146. LRU Cache
eBay's product catalog and search-result caching rely on LRU eviction to keep hot listings in memory while purging stale ones. This design problem tests whether you can compose a hash map and doubly-linked list to achieve O(1) get and put — a real production data structure that eBay's infrastructure engineering teams implement and discuss in depth.
- #200mediumvery frequently asked
200. Number of Islands
eBay's geo-search team segments geographic regions — think grouping contiguous postal codes into delivery zones. Number of Islands is the graph-traversal foundation: count connected components in a grid. eBay interviewers use it to test BFS vs. DFS choice, visited-state management, and whether you can handle a 2D graph without a separate visited matrix.
Related interview-prep guides
VidCruiter Tech Interview Guide for Jobseekers (2026)
VidCruiter is a Canadian-founded hybrid interview platform that combines pre-recorded async video questions with scheduled live video interviews and skill testing in a single multi-step flow. Tech jobseekers encounter it most often in IT, devops, security-ops, and tech-adjacent roles, and the prep that works for HireVue or Zoom alone misses the platform's quirks.
Webex Tech Interview Guide 2026: What the Platform Sees, What It Doesn't, and How Candidates Set Up
Cisco Webex is still the default video platform across legacy enterprise hiring: large banks, insurance carriers, government IT, healthcare systems, and Fortune 500 employers running a Cisco stack. This is the 2026 guide to what Webex captures during a tech interview, what its AI Assistant transcribes, where its OS-level boundary sits, and how candidates set up around it.