1 Question 1 EN + हिं Medium GB Base case for merge sort recursion? IN मर्ज सॉर्ट रिकर्सन के लिए बेस केस? A len>2 लेन>2 B len>1 लेन>1 C len==0 लेन==0 D len>=2 लेन>=2 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Recursion continues while len>1; single element is sorted. व्याख्या (हिन्दी) प्रत्यावर्तन जारी रहता है जबकि len>1; एकल तत्व को क्रमबद्ध किया गया है। 🎯 Exam Perspective Data Structures and Algorithms ("Recursion" sub-topic) से जुड़ा यह सवाल — difficulty level "Medium" उन students के लिए काम का है जो UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions sys.setrecursionlimit() is used to? In recursion, each recursive call: Tail recursion? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
2 Question 2 EN + हिं Medium GB In recursion, each recursive call: IN रिकर्सन में, प्रत्येक रिकर्सिव कॉल: A Adds frame to call stack कॉल स्टैक में फ़्रेम जोड़ता है B Removes frame from call stack कॉल स्टैक से फ़्रेम हटाता है C Does not use stack स्टैक का उपयोग नहीं करता D Uses a queue कतार का उपयोग करता है ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Each recursive call adds a new stack frame to the call stack. व्याख्या (हिन्दी) प्रत्येक पुनरावर्ती कॉल कॉल स्टैक में एक नया स्टैक फ़्रेम जोड़ता है। 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में Data Structures and Algorithms ("Recursion" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Medium"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What is the base case in recursion? Time complexity of factorial(n) using recursion? What is recursion? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
3 Question 3 EN + हिं Easy GB What is recursion? IN प्रत्यावर्तन क्या है? A Loop running forever लूप हमेशा के लिए चल रहा है B Function calling itself फ़ंक्शन स्वयं को कॉल कर रहा है C Iterative algorithm पुनरावृत्त एल्गोरिथ्म D Sorting type छँटाई का प्रकार ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Recursion: function calls itself (directly or indirectly) with base case. व्याख्या (हिन्दी) रिकर्सन: फ़ंक्शन बेस केस के साथ स्वयं को (प्रत्यक्ष या अप्रत्यक्ष रूप से) कॉल करता है। 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Recursion" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Easy"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions Python default maximum recursion depth? What is the base case in recursion? sys.setrecursionlimit() is used to? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
4 Question 4 EN + हिं Easy GB What is the base case in recursion? IN रिकर्सन में आधार मामला क्या है? A Recursive call पुनरावर्ती कॉल B Condition that stops recursion ऐसी स्थिति जो प्रत्यावर्तन को रोक देती है C Initial data structure प्रारंभिक डेटा संरचना D First function call पहला फ़ंक्शन कॉल ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Base case terminates recursion. Without it, infinite recursion. व्याख्या (हिन्दी) बेस केस रिकर्सन को समाप्त करता है। इसके बिना, अनंत प्रत्यावर्तन. 🎯 Exam Perspective Data Structures and Algorithms ("Recursion" sub-topic) के इस प्रश्न को — difficulty level "Easy" कई प्रतियोगी परीक्षाओं जैसे Railway, SSC, Banking और Defence परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions Base case for merge sort recursion? Tower of Hanoi with n disks requires how many moves? Tail recursion? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
5 Question 5 EN + हिं Hard GB Time complexity of factorial(n) using recursion? IN रिकर्सन का उपयोग करके फैक्टोरियल (एन) की समय जटिलता? A O(1) हे(1) B O(log n) ओ(लॉग एन) C O(n) पर) D O(n²) ओ(एन²) ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) factorial(n) makes n recursive calls — O(n). व्याख्या (हिन्दी) फ़ैक्टोरियल(n) n पुनरावर्ती कॉल करता है - O(n)। 🎯 Exam Perspective यह सवाल Data Structures and Algorithms ("Recursion" sub-topic) category का है — difficulty level "Hard", और SSC, Railway, Banking और State PCS के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions What is recursion? What is the base case in recursion? Tail recursion? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
6 Question 6 EN + हिं Medium GB Python default maximum recursion depth? IN पायथन डिफ़ॉल्ट अधिकतम रिकर्सन गहराई? A 100 100 B 500 500 C 1000 1000 D 10000 10000 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Python recursion limit = 1000 (sys.getrecursionlimit()). व्याख्या (हिन्दी) पायथन रिकर्सन सीमा = 1000 (sys.getrecursionlimit())। 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms ("Recursion" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Medium"। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions Base case for merge sort recursion? What is recursion? sys.setrecursionlimit() is used to? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
7 Question 7 EN + हिं Medium GB Tail recursion? IN पूँछ प्रत्यावर्तन? A Recursion at function start फ़ंक्शन प्रारंभ पर पुनरावर्तन B Recursive call is last operation पुनरावर्ती कॉल अंतिम ऑपरेशन है C Multiple base cases एकाधिक आधार मामले D Two functions दो कार्य ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Tail recursion: recursive call is the last operation in function. व्याख्या (हिन्दी) टेल रिकर्सन: रिकर्सिव कॉल फ़ंक्शन में अंतिम ऑपरेशन है। 🎯 Exam Perspective Data Structures and Algorithms ("Recursion" sub-topic) से जुड़ा यह सवाल — difficulty level "Medium" उन students के लिए काम का है जो Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is recursion? Tower of Hanoi with n disks requires how many moves? Python default maximum recursion depth? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
8 Question 8 EN + हिं Medium GB Tower of Hanoi with n disks requires how many moves? IN एन डिस्क वाले हनोई के टॉवर को कितनी चालों की आवश्यकता है? A n² n² B n! एन! C 2^n - 1 2^एन - 1 D n log n एन लॉग एन ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Tower of Hanoi: T(n)=2T(n-1)+1 = 2^n-1 moves. व्याख्या (हिन्दी) हनोई की मीनार: T(n)=2T(n-1)+1 = 2^n-1 चलती है। 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में Data Structures and Algorithms ("Recursion" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Medium"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions In recursion, each recursive call: What is recursion? Python default maximum recursion depth? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
9 Question 9 EN + हिं Medium GB sys.setrecursionlimit() is used to? IN sys.setrecursionlimit() का प्रयोग किसके लिए किया जाता है? A Set max array size अधिकतम सरणी आकार सेट करें B Set maximum recursion depth अधिकतम प्रत्यावर्तन गहराई निर्धारित करें C Set timeout टाइमआउट सेट करें D Enable tail recursion पूँछ पुनरावर्तन सक्षम करें ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) sys.setrecursionlimit(n) sets Python's maximum recursion depth. व्याख्या (हिन्दी) sys.setrecursionlimit(n) पायथन की अधिकतम रिकर्सन गहराई निर्धारित करता है। 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Recursion" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Medium"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions Time complexity of factorial(n) using recursion? Python default maximum recursion depth? In recursion, each recursive call: 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)