logo

Crowdly

Browser

Add to Chrome

A building has n floors , two lifts, and 2 stairs. Lift L1 operates only...

✅ 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

    k

  • Lift L2 operates up to floor

    n

  • Stairs 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

67%
33%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.spit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome