Skip to content

Welcome to the Data Structures and Algorithms (DSA) repository. This collection is intended to provide a comprehensive guide to fundamental and advanced concepts in DSA using C++. Each folder contains code examples and explanations for different topics.

Notifications You must be signed in to change notification settings

abhishekgurjar-in/DSA

Repository files navigation

DSA Codes Repository

Welcome to the Data Structures and Algorithms (DSA) repository. This collection is intended to provide a comprehensive guide to fundamental and advanced concepts in DSA using C++. Each folder contains code examples and explanations for different topics.

Table of Contents

  1. Basics of C++ Level 1
  2. Basics of C++ Level 2
  3. Arrays, Time & Space Complexity
  4. Searching & Sorting
  5. Char Arrays & Strings
  6. Basic Maths & Pointers
  7. Recursion
  8. Backtracking & Divide and Conquer
  9. OOPS Concept
  10. LinkedList
  11. Stack
  12. Queues
  13. Generic & Binary Trees
  14. Binary Search Trees
  15. Heaps

Basics of C++ Level 1

  • Introduction to basic concepts in C++.
  • Topics include variables, data types, control structures, and functions.

Basics of C++ Level 2

  • Continuation of basic concepts in C++.
  • Covers arrays, pointers, and more advanced functions.

Arrays, Time & Space Complexity

  • Introduction to arrays and their operations.
  • Analysis of time and space complexity.

Searching & Sorting

  • Common searching algorithms (linear search, binary search).
  • Sorting algorithms (bubble sort, selection sort, insertion sort, merge sort, quick sort).

Char Arrays & Strings

  • Handling character arrays and strings in C++.
  • String manipulation techniques.

Basic Maths & Pointers

  • Basic mathematical operations and their implementations.
  • Detailed exploration of pointers and pointer arithmetic.

Recursion

  • Introduction to recursion and recursive problem-solving.
  • Examples of common recursive algorithms.

Backtracking & Divide and Conquer

  • Problem-solving techniques using backtracking.
  • Divide and conquer algorithms.

OOPS Concept

  • Object-Oriented Programming (OOP) in C++.
  • Key concepts: classes, objects, inheritance, polymorphism, encapsulation, and abstraction.

LinkedList

  • Implementation and operations of singly and doubly linked lists.
  • Applications of linked lists.

Stack

  • Stack data structure and its operations.
  • Applications and examples.

Queues

  • Queue data structure and its operations.
  • Variants such as circular queue, priority queue, and deque.

Generic & Binary Trees

  • Implementation of generic and binary trees.
  • Tree traversals and operations.

Binary Search Trees

  • Detailed exploration of binary search trees (BST).
  • Operations like insertion, deletion, and search in BST.

Heaps

  • Introduction to heap data structure.
  • Heap operations and heap sort algorithm.

Each folder contains code files with well-documented comments to help you understand the implementation and the logic behind each algorithm. Feel free to explore and use these codes for your learning and projects.

For any questions or suggestions, please reach out.

Happy Coding!


About

Welcome to the Data Structures and Algorithms (DSA) repository. This collection is intended to provide a comprehensive guide to fundamental and advanced concepts in DSA using C++. Each folder contains code examples and explanations for different topics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages