ebay online Assessment

Posted
24 Mar 2026
547 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.

How it went

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.

Questions asked (1)

  1. 01

    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) {}

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Ebay recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

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