Which of the following techniques are used for optimization?
-
Dynamic programming
-
Cyclic coding
-
Huffmann coding
-
Greedy algorithm.
A,C,D
Correct answer
Explanation
Dynamic programming optimizes by storing solutions to subproblems to avoid recomputation. Huffman coding optimizes compression by using shorter codes for frequent characters. Greedy algorithms optimize by making locally optimal choices at each step. Cyclic coding is not a standard optimization technique in algorithms.