Lightricks interview question

sorting questions, some basic time complexity stuff,