Opendoor interview question

simple coding question