Expedia Group interview question

behavioural questions, coding interview - code recall at K function.