Pergunta de entrevista da empresa Affirm

Standard algorithm/data structures questions but I haven't seen them asked by other companies