HardThe difficulty is Hard, because the problem involves multi-step reasoning to calculate the minimum cost for each route considering direct and up to two-stop flights. It requires handling numerous combinations of origin and destination, complex joins on multiple tables, and conditional logic across different implementations to find the optimal cost for each route.
ID 2008
0
COMPANY X employees are trying to find the cheapest flights to upcoming conferences.
This question is part of a paid planUnlock the full question bank, official solutions and other users’ approaches.Unlock this question5-day money-back guarantee · Cancel anytime