Table of Contents
Data Structure and Algorithm Tutorial
Table of Contents
Data Structure and Algorithm Tutorial
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
- Array/List
- Stack
- Queue
- Linked List
- Tree
- Graph
- 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
- 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

Table of Contents All Chapters 1. Personal Area Network 2. Local Area Network 3. Campus Area Network 4. Metropolitan Area...

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

Table of Contents All Chapters 1. Special Logic Gate 2. XOR Gate 2.1. XOR Gate Truth Table 3....

Table of Contents All Chapters 1. Universal Logic Gates 2. NOR Gate 2.1. NOR Gate Truth Table 3....

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

Table of Contents All Chapters 1. Simplification 2. Simplification using Boolean Algebra Theorems 3. Simplification using K-map Digital Electronics...

Table of Contents All Chapters 1. Identity Laws 2. Null Laws 3. Domination Laws 4. Idempotent Laws 5. Complement Laws...