Question 18Asked in Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1 + 1 more paper

The recurrence equation T(n) = T(n/2) + 1 represents the time complexity of which algorithmic paradigm?पुनरावृत्ति समीकरण T(n) = T(n/2) + 1 किस एल्गोरिथम प्रतिमान की समय जटिलता को दर्शाता है?

पुनरावृत्ति समीकरण T(n) = T(n/2) + 1 किस एल्गोरिथम प्रतिमान की समय जटिलता को दर्शाता है?
  1. ADivide and Conquerडिवाइड एंड कॉन्कर
  2. BGreedy Algorithmsलुब्ध एल्गोरिथम
  3. CDynamic Programmingगतिक प्रोग्रामिंग
  4. DBrute Forceब्रूट फाॅर्स
Show answerHide answer

Correct answer: (A) Divide and Conquerडिवाइड एंड कॉन्कर

Explanation

T(n) = T(n/2) + 1 halves the problem at each step, as in binary search, a divide-and-conquer algorithm. It solves to O(log n).T(n) = T(n/2) + 1 हर चरण में समस्या को आधा कर देता है, जैसे binary search में, जो एक divide-and-conquer एल्गोरिथ्म है। इसका हल O(log n) है।

From Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1

This is question 18 of Bihar STET Paper 2 Computer Science (Class 11-12) PYQ, 12 Sep 2023, Shift 1. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.

Asked in 2 papers