Fieldwire interview question

Just basic data structures & algorithm questions.