Data Structures and Algorithms — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye.

📚 25 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
25 questions

Question 16

EN + हिं Medium
GB append() method in linked list adds where?
IN लिंक्ड सूची में संलग्न () विधि कहां जोड़ती है?
Head सिर
Tail (last_node) पूँछ (अंतिम नोड)
Sorted position क्रमबद्ध स्थिति
Middle मध्य
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) append(): self.last_node.next=Node(data); self.last_node=self.last_node.next.
व्याख्या (हिन्दी) संलग्न करें(): self.last_node.next=Node(डेटा); self.last_node=self.last_node.next.
🎯 Exam Perspective
Data Structures and Algorithms ("Linked List" sub-topic) के इस प्रश्न को — difficulty level "Medium" कई प्रतियोगी परीक्षाओं जैसे SSC CGL, IBPS, RRB और State-level परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें।

Question 17

EN + हिं Medium
GB display() in linked list uses?
IN लिंक्ड सूची में डिस्प्ले() का उपयोग होता है?
for loop with index इंडेक्स के साथ लूप के लिए
while current=current.next जबकि current=current.next
Recursive call पुनरावर्ती कॉल
Binary search द्विआधारी खोज
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) while current is not None: print(current.data); current=current.next.
व्याख्या (हिन्दी) जबकि current कोई नहीं है: print(current.data); वर्तमान=वर्तमान.अगला.
🎯 Exam Perspective
यह सवाल Data Structures and Algorithms ("Linked List" sub-topic) category का है — difficulty level "Medium", और UPSC, SSC, Banking और Police भर्ती के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें।

Question 18

EN + हिं Easy
GB Which is NOT a type of linked list?
IN कौन सी लिंक्ड सूची का एक प्रकार नहीं है?
Singly अकेले
Doubly दोगुना
Circular परिपत्र
Binary द्विआधारी
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) 'Binary linked list' is not a standard type.
व्याख्या (हिन्दी) 'बाइनरी लिंक्ड सूची' एक मानक प्रकार नहीं है।
🎯 Exam Perspective
यह प्रश्न Data Structures and Algorithms ("Linked List" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Easy"। इस तरह के प्रश्न अक्सर Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें।

Question 19

EN + हिं Medium
GB One pair of linked list item + reference = ?
IN लिंक्ड सूची आइटम की एक जोड़ी + संदर्भ = ?
Edge किनारा
Vertex शिखर
Node नोड
Bucket बाल्टी
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) One item and its reference to next item constitutes a node.
व्याख्या (हिन्दी) एक आइटम और उसके अगले आइटम का संदर्भ एक नोड का गठन करता है।
🎯 Exam Perspective
Data Structures and Algorithms ("Linked List" sub-topic) से जुड़ा यह सवाल — difficulty level "Medium" उन students के लिए काम का है जो SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो।

Question 20

EN + हिं Medium
GB Linked list doesn't require:
IN लिंक की गई सूची की आवश्यकता नहीं है:
Traversal traversal
Sequential element access अनुक्रमिक तत्व पहुंच
Contiguous memory allocation सन्निहित स्मृति आवंटन
Pointers संकेत
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Linked lists don't need contiguous memory — nodes can be anywhere.
व्याख्या (हिन्दी) लिंक की गई सूचियों को सन्निहित मेमोरी की आवश्यकता नहीं है - नोड्स कहीं भी हो सकते हैं।
🎯 Exam Perspective
UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में Data Structures and Algorithms ("Linked List" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Medium"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें।

Question 21

EN + हिं Hard
GB Linked list search time complexity?
IN लिंक्ड सूची खोज समय जटिलता?
O(1) हे(1)
O(log n) ओ(लॉग एन)
O(n) पर)
O(n²) ओ(एन²)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Search in linked list requires O(n) traversal.
व्याख्या (हिन्दी) लिंक की गई सूची में खोजने के लिए O(n) ट्रैवर्सल की आवश्यकता होती है।
🎯 Exam Perspective
अगर आप SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Linked List" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Hard"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें।

Question 22

EN + हिं Hard
GB Time complexity of finding middle node of linked list?
IN लिंक्ड सूची के मध्य नोड को खोजने की समय जटिलता?
O(1) हे(1)
O(log n) ओ(लॉग एन)
O(n) पर)
O(n²) ओ(एन²)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Finding middle requires O(n) traversal (or slow/fast pointer in O(n)).
व्याख्या (हिन्दी) मध्य खोजने के लिए O(n) ट्रैवर्सल (या O(n) में धीमा/तेज़ पॉइंटर) की आवश्यकता होती है।
🎯 Exam Perspective
Data Structures and Algorithms ("Linked List" sub-topic) के इस प्रश्न को — difficulty level "Hard" कई प्रतियोगी परीक्षाओं जैसे UPSC, SSC, Banking और Police भर्ती में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें।

Question 23

EN + हिं Medium
GB Best sorting for linked list with nearly sorted data?
IN लगभग क्रमबद्ध डेटा के साथ लिंक्ड सूची के लिए सर्वोत्तम छँटाई?
Quick sort त्वरित छँटाई
Merge sort मर्ज सॉर्ट
Insertion sort सम्मिलन प्रकार
Heap sort ढेर बनाएं और छांटें
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Insertion sort: efficient for nearly sorted data, works well on linked list.
व्याख्या (हिन्दी) सम्मिलन सॉर्ट: लगभग क्रमबद्ध डेटा के लिए कुशल, लिंक की गई सूची पर अच्छा काम करता है।
🎯 Exam Perspective
यह सवाल Data Structures and Algorithms ("Linked List" sub-topic) category का है — difficulty level "Medium", और SSC, Railway, Banking और State PCS के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें।

Question 24

EN + हिं Medium
GB Which sort is best for linked lists?
IN लिंक्ड सूचियों के लिए कौन सा प्रकार सर्वोत्तम है?
Quick Sort त्वरित छँटाई
Merge Sort मर्ज सॉर्ट करें
Heap Sort ढेर बनाएं और छांटें
Insertion Sort प्रविष्टि क्रम
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Merge sort works well on linked lists without extra memory.
व्याख्या (हिन्दी) मर्ज सॉर्ट अतिरिक्त मेमोरी के बिना लिंक्ड सूचियों पर अच्छा काम करता है।
🎯 Exam Perspective
यह प्रश्न Data Structures and Algorithms ("Linked List" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Medium"। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें।

Question 25

EN + हिं Medium
GB Which sort is best for linked lists?
IN लिंक्ड सूचियों के लिए कौन सा प्रकार सर्वोत्तम है?
Quick Sort त्वरित छँटाई
Merge Sort मर्ज सॉर्ट करें
Heap Sort ढेर बनाएं और छांटें
Insertion Sort प्रविष्टि क्रम
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Merge sort works well on linked lists without extra memory.
व्याख्या (हिन्दी) मर्ज सॉर्ट अतिरिक्त मेमोरी के बिना लिंक्ड सूचियों पर अच्छा काम करता है।
🎯 Exam Perspective
Data Structures and Algorithms ("Linked List" sub-topic) से जुड़ा यह सवाल — difficulty level "Medium" उन students के लिए काम का है जो Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो।