ebay online Assessment

ebay logo
ebay
March 24, 2026 · 2 reads

Summary

I received an online assessment link for eBay Industry Coding Assessment on CodeSignal, which involved implementing a complete in-memory database across multiple levels with specific API functionalities.

Full Experience

I received another link for eBay Industry Coding Assessment (OA) on CodeSignal and decided to attempt it to improve my scores. The assessment required implementing a complete in-memory database.

Interview Questions (1)

1.

In-memory Database Implementation

Data Structures & Algorithms

Implement a complete in-memory database with the following levels and an provided interface skeleton:

Level 1: Support basic operations to manipulate records, fields, and values within fields.

Level 2: Support displaying a record's fields based on a filter.

Level 3: Support TTL (Time-To-Live) settings for records.

Level 4: Support Look-back operations to retrieve values stored at a specific timestamp in the past.

Each level must be completed to unlock and proceed to the next.

Interface Skeleton:

public void set(int timestamp, String key, String field, String value) {}
public boolean compareAndSet(int timestamp, String key, String field, int expectedValue) {}
public boolean compareAndDelete(int timestamp, String key, String field, int expectedValue) {}
public String get(int timestamp, String key, String field) {}

public List scan(int timestamp, String key) {} public List scanByPrefix(int timestamp, String key, String prefix) {}

public void restore(int timestamp, String key, String field, String value, int ttl) {} public boolean backup(int timestamp, int ttl) {}

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!