InterviewDB Question

Affirm SWE Phone Screen - Insert Delete GetRandom O(1)

Question Details

Problem Design a data structure that supports insert, delete, and getRandom in O(1) average time. Likely LeetCode equivalent LC 380 - Insert Delete GetRandom O(1) Tags Coding, hash_table, arrays, randomization, phone

Full Details

🔒

Unlock all Affirm questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a affirm interview during the phone round.

It covers the following topics: Phone, Coding, Hash Table, Arrays, Onsite .