Opendoor interview question

Some random coding questions.