Lightricks Interview Question

sorting questions, some basic time complexity stuff,