Detailed Instructions: Here are two questions (Question1 and Question2). If these questions have the same meaning and same answer, answer "Yes", otherwise "No".
Problem:Question1: If a building has 'n' floors and 'm' selections are currently active in the building's elevator, what is the probability that the elevator is currently at the (numerically least highlighted number-1)th floor?, Question2: There are n numbers in any random order. How do I get top m numbers (m <= n) in descending order with least time complexity and most optimized? (Java code)
Solution:
No