Table of Contents

TOC loading...
Edit Template

Data Structure and Algorithm in Hindi

Introduction to Data Structure and Algorithm (DSA)

अगर आप programming language सीख रहे हैं तो आपको Data Structure and Algorithm के बारे में पता होना चाहिए। यह कोई programming language नहीं है बल्कि यह हमारे program को efficient और powerful बनता है।

What is Data Structure in Hindi

Data structure का मतलब है कि हम data को organize करें ताकि हम program में से data को आसानी से access कर सके। data structure को आप container की तरह समझ सकते हैं जो data को systematically store करता है जिससे हम उस data पर कोई भी operation easily perform कर सकते हैं।

“Data Structure एक तरीका है data को store, organize और access करने का ताकि हम data को fast और efficiency use के सके।

Types of Data Structure

  1. Array/List
  2. Stack
  3. Queue
  4. Linked List
  5. Tree
  6. Graph
  7. Hash Table

What is Algorithm

algorithm  किसी problem को solved करने का stepwise process होता है, यह set of instruction होता है जो किसी specific task को perform करने के लिए बनाया जाता है।

Algorithm एक step-by-step procedure होता है किसी problem को solve करने का, जब हम कोई बड़ा program लिखते हमे तो algorithm को follow करना होता है, जैसे Searching algorithm, Sorting algorithm, Graph algorithm, Dynamic Programming, etc. steps को हम follow करेंगे तो हमारा program में ज्यादा error नहीं आएंगे Fast, Uses less memory और Easy to understand होगा।

Basics of Data Structure Algorithm

Time Complexity

एक algorithm को run होने में कितना time लगेगा इसको measure करने को time complexity कहते है।

Space Complexity

एक algorithm को run करने की लिए कितना memory space चाहिए इसे measure करने को space complexity कहते है।

Big-O, Big-Omega, Big-Theta Notations

DSA में हम mainly input size = n के respect में algorithm का performance check करते है और उनके performance के base पर algorithm को worst case (Big-O), best case (Big-Omega) या average case(Theta) में categories करते है।

Big O Notation  जब input size बढ़ाया जाएगा तो किसी algorithm का perform कैसे change होगा इसको repragentation को big o notation कहते है।

Memory Handling in Python

अगर हम DSA को python के कर रहे है तो इसमे memory handling को skip कर दिया जाता है क्योंकि python में memory management automatic होता है इसके लिए हमे DSA की जरूरत नहीं होती है।

Note: इसीलिए अगर हमे DSA में Memory Management भी सीखना है तो हमे DSA को C++ जैसे programming languages के साथ सीखना चाहिए, सिर्फ memory management ही नहीं बल्कि DSA ऐसे और भी topics है जो हम python के साथ DSA करते वक्त नहीं सीख पाते क्योंकि python एक ऐसा programming language जिसमे काफी चीजे automatic हो जाती है इसीलिए ये language beginners के लिए आसान है और इसमे DSA करना भी easy है but आप DSA को advance में सीखना चाहते है तो C++ best रहेगा आप Java के साथ भी जा सकते है।

Important questions of DSA

इस tutorial के कुछ important questions नीचे दिए गए है practice के लिए आप उनका answer comment box मे लिखे- 

1. Differant between Data Structure & Algorithms

2. Explain Big-O Notations

3. Memory Handling in Python

 

Add a comment...

  • All Posts
  • Artificial Intelligence
  • Computer Fundamentals
  • Computer Networks
  • Data Analytics
  • Data Science
  • DBMS
  • Deep Learning
  • Digital Electronics
  • DSA with Python
  • Excel
  • Exercise
  • Git & Github
  • Machine Learning
  • Matplotlib
  • Natural Language Processing
  • NumPy
  • Operating System
  • Pandas-s
  • Power BI
  • Python Tutorial
  • Scikit-learn
  • Seaborn
  • SQL & MySQL
computer networks

Table of Contents All Chapters 1. OSI Model      1.1. Physical Layer      1.2. Data Link Layer  ...

computer networks

Table of Contents All Chapters 1. Topology 2. Types of Topology      2.1. Point to Point Topology    ...

computer networks

Table of Contents All Chapters 1. Data Communication 2. Types of Data Communication      2.1. Simplex      2.2....

digital electronics number system

Table of Contents All Chapters 1. Logic Gate 2. AND Gate      2.1. AND Gate Truth Table 3. OR...

Edit Template

Sign up to track your learning

Login to continue your learning tracking

To reset your password, please enter your email address or username below.

Scroll to Top