eBay | CodeSignal | OA | Industry Coding Assessment

Hi Fam,

Recently appeared for eBay Industry Coding Assessment (OA).
Platform: CodeSignal

This is different from General Coding Assessment which has 4 random DS questions.
In ICA, you'll be given a project codebase and you're required to implement couple of interfaces, classes and methods respectively so that the test cases for each level passes.


Complete banking system implementation:

Level 1 (Basic Operations):

boolean createAccount(String accountId, int timestamp) - Create new accounts
Optional deposit(String accountId, int timestamp, int amount) - Deposit money into accounts
Optional transfer(String fromId, String toId, int timestamp, int amount) - Transfer money between accounts

Level 2 (Ranking):

List topSpenders(int timestamp, int n) - Returns top N accounts based on outgoing transactions, sorted by amount (descending) and then by account ID (ascending)

Level 3 (Scheduled Payments):

void schedulePayment(String accountId, String targetAccId, int timestamp, int amount, double cashbackPercentage) - Schedule payments with cashback
String getPaymentStatus(String accountId, int timestamp, String paymentId) - Check if payment is scheduled, processed, or failed
void processScheduledPayments(int currentTimestamp) - Execute scheduled payments and apply cashback

Level 4 (Account Merging):

void mergeAccounts(String accountId1, String accountId2) - Merge two accounts, combining balances and updating all transaction histories

Response from TA: Cleared.
Didnt get any invite for Nov 7th - Nov 10th Hiring Drive.

#ebay #oa #codesignal #ica #mts1

Comments (11)