Skip to content

This repository contains a collection of DSA (Data Structures and Algorithms) questions, ranging from beginner to advanced levels. The questions were generated using ChatGPT, and include topic-wise solutions, making it a valuable resource for coding interviews and competitive programming. 🚀

License

Notifications You must be signed in to change notification settings

harshikab2112/DSA-Questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structures and Algorithms (DSA) - Beginner to Advanced

  • Welcome to the DSA Beginner to Advanced repository! This repo is designed to help you learn Data Structures and Algorithms step-by-step, covering essential concepts such as arrays, linked lists, sorting, recursion, dynamic programming, and more.
  • This list of DSA topics and questions has been generated with the assistance of ChatGPT to provide a structured learning path from beginner to advanced levels.

🚀 DSA Levels

🟢 Beginner Level

🛠️Basic Data Structures

  • Arrays: Definition, operations, traversing
  • Strings: Basic operations, palindrome check, anagrams
  • Linked Lists: Singly linked list, insertion, deletion, traversal

🛠️Basic Algorithms

  • Searching: Linear search, binary search
  • Sorting: Bubble sort, selection sort, insertion sort
  • Recursion: Factorial, Fibonacci, basic recursive problems

🔵 Intermediate Level

🔍 Intermediate Data Structures

  • Stacks: Implementation, applications (balanced parentheses, postfix evaluation)
  • Queues: Implementation, circular queue, priority queue
  • Hashing: Hash tables, collision resolution techniques
  • Trees: Binary trees, traversal (inorder, preorder, postorder)

🔍 Graph Algorithms

  • Graph Representations: Adjacency matrix, adjacency list
  • BFS (Breadth-First Search), DFS (Depth-First Search)
  • Topological Sorting

🔍 Dynamic Programming and Greedy Algorithms

  • Introduction to DP
  • Coin Change Problem, Knapsack Problem
  • Greedy Algorithms: Activity selection, Huffman coding

🔴 Advanced Level

📌 Advanced Tree Data Structures

  • Binary Search Tree (BST), AVL Tree
  • Segment Tree, Fenwick Tree

📌 Advanced Graph Algorithms

  • Dijkstra’s Algorithm, Floyd-Warshall Algorithm
  • Minimum Spanning Tree: Kruskal’s and Prim’s algorithm
  • Network Flow: Ford-Fulkerson algorithm

📌 Advanced Dynamic Programming

  • Longest Increasing Subsequence (LIS)
  • Matrix Chain Multiplication
  • Traveling Salesman Problem (TSP)

📌 Bit Manipulation and Number Theory

  • Bitwise Operations, XOR Tricks
  • Prime Numbers, Sieve of Eratosthenes
  • Modular Arithmetic, GCD, LCM

📌Competitive Programming Concepts

  • Segment Trees, Sparse Tables
  • Mo’s Algorithm, Heavy-Light Decomposition
  • Trie Data Structure, Suffix Arrays

📌 Contribution

  • Feel free to contribute by adding explanations, examples, and optimizations!
  • 📩 Pull requests are welcome!

⭐ Support

If you find this repository useful, don’t forget to ⭐ star it!

About

This repository contains a collection of DSA (Data Structures and Algorithms) questions, ranging from beginner to advanced levels. The questions were generated using ChatGPT, and include topic-wise solutions, making it a valuable resource for coding interviews and competitive programming. 🚀

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published