Affirm 20 interview questions· Updated daily
Free question · start here
Card Game Coding · Asked very often· Onsite, phone screen
Part 1 this is a two player card game the game starts with a deck of 52 cards represented as unique integers [1...52] the cards are randomly shuffled and then dealt out to both players evenly on each turn: both players turn over their top-most card the player
Read the free question FiltersAll20 Coding18 System design2
20 questions Most asked first Free Card GameVery often · CodingCoding · Hash tables Sometimes · Phone screen Coding · Arrays, hash tables +1 Sometimes Coding · Hash tables, debugging Sometimes · Onsite, phone screen System design · Databases, distributed systems +1 Sometimes Coding · Arrays, math +1 Sometimes Coding · Hash tables Sometimes · Onsite, phone screen Coding · Arrays, hash tables Sometimes · Onsite, phone screen Coding · Strings, hash tables Sometimes · Onsite, phone screen Coding · Sliding window Sometimes · Onsite, phone screen Coding · Trees Sometimes · Onsite, phone screen Coding · Arrays, hash tables Rarely · Onsite, phone screen Coding · Stack, OOP & design patterns Rarely · Onsite, phone screen Coding · Trees Rarely · Onsite, phone screen Coding · Arrays, strings +1 Rarely · Onsite, phone screen Coding · Strings Rarely · Onsite, phone screen Coding · Hash tables, dynamic programming +1 Rarely · Onsite, phone screen System design · Statistics, distributed systems +1 Once · Onsite, phone screen Coding · Hash tables, trees Once · Onsite, phone screen Coding · Arrays, hash tables Once · Onsite, phone screen