📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    ⚡ Month End Offer - Flat 52% Off On All Courses! Enroll Now ⚡
    00:00:00 AM Left

    Question

    Which data structure is ideal for priority-based

    scheduling?
    A Stack Correct Answer Incorrect Answer
    B Queue Correct Answer Incorrect Answer
    C Deque Correct Answer Incorrect Answer
    D Priority Queue Correct Answer Incorrect Answer
    E Array Correct Answer Incorrect Answer

    Solution

    Priority Queue allows access to elements based on priority rather than order.

    Practice Next
    ask-question