✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
A building has n floors, two lifts, and 2 stairs.
Lift L1 operates only up to floor
kLift L2 operates up to floor
nStairs connect all floors
A student wants to reach the target floor t from the ground floor.Analyze the time complexity of your algorithm when we have n floors