Toast Inc interview question

Simple algorithms and hr questions