EBay Industry Coding Assessment (OA) Experience on CodeSignal
Question Details
eBay Industry Coding Assessment (ICA) Overview
Platform: CodeSignal
Format: Unlike standard assessments containing random data structure questions, this exam utilizes a project-based appro
Full Details
eBay Industry Coding Assessment (ICA) Overview
Platform: CodeSignal
Format: Unlike standard assessments containing random data structure questions, this exam utilizes a project-based approach. Candidates are provided with an existing codebase and must implement specific interfaces, classes, and methods to satisfy progressive test cases.
Problem Statement: Complete Banking System Implementation
Level 1: Basic Operations Implement core functionality for account and fund management: * createAccount(accountId, timestamp): Initialize new user accounts. * deposit(accountId, timestamp, amount): Add funds to specific accounts. * transfer(fromId, toId, timestamp, amount): Execute fund transfers between accounts.
Level 2: Ranking Analytics Implement logic to track and retrieve high-volume users: * topSpenders(timestamp, n):
Return the top N accounts based on total outgoing transactions. Results must be sorted by amount (descending), utilizing the account ID (ascending) as a tie-breaker.
Level 3: Scheduled Payments & Cashback Implement features for deferred transactions and rewards processing: * schedulePayment(...): Queue payments with specific parameters, including cashback percentages. * getPaymentStatus(...): Query the current state of a specific payment (scheduled, processed, or failed). * processScheduledPayments(currentTimestamp): Execute queued payments that are due and apply relevant cashback logic.
Level 4: Account Merging Implement complex state modification for consolidating users: * mergeAccounts(accountId1, accountId2): Merge two distinct accounts by combining their current balances and unifying their entire transaction histories.