Question

Differentiate between Polynomial-time and exponential-time algorithms. Give an example of one problem each for these two running times.

07 Mar 2024
Answer :
Word Count : 152

Polynomial-time algorithms are those where the runtime increases polynomially with the input size. They are generally considered efficient. Examples include algorithms with time complexities like O(n), O(n^2), or O(n^k), where 'n' is the size of the input. An example problem solved in polynomial time is finding the shortest path in a graph using Dijkstra's algorithm,

________ ____ ____ _____ _____ ______ ______ _________ __________ _________ _________.
______ __________ _____ ______ ___ ______ _____ _______ ____ ___ _____.
_______ _____ ____ ___ ______ ________ ____ _____ __________ __________ ____.
__________ _________ __________ ____ _______ _____ _________ ______ ___ _______.
_________ _______ _____ _________ _____ _______ __________ _____ ___.
______ ________ __________ __________ ___ ____ ____ __________ ______.
______ __________ _________ ___ _________ ________ ____ __________ ________ ___ _____.
________ ___ _________ __________ _________.
_________ ___ _________ ________ ______.
_________ ___ _______ _____ _________ ____ ___ _____.
_____ ____ ___ ___ _____ _____ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MCS 211 2024 - Differentiate between Polynomial-time and exponential-time algorithms. | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→