πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      Which of the following algorithms uses a greedy

      approach?
      A QuickSort Correct Answer Incorrect Answer
      B MergeSort Correct Answer Incorrect Answer
      C Huffman Coding Correct Answer Incorrect Answer
      D Binary Search Correct Answer Incorrect Answer
      E BFS Correct Answer Incorrect Answer

      Solution

      Huffman Coding builds optimal prefix codes by repeatedly selecting the two lowest-frequency nodes.

      Practice Next
      More Algorithms Questions
      ask-question