Flexport interview question

Some easy / front-end-irrelevant / boring algorithm questions.