Skip to content

rajavenkatesh04/Java

Repository files navigation

DSA Problem Folder Structure

This repository contains a structured collection of DSA problems, categorized into folders for better organization and learning.


1. Backtracking

  • N-Queens Problem
  • Sudoku Solver
  • Rat in a Maze
  • Subset Sum Problem

2. Dynamic Programming

  • Fibonacci
  • Knapsack Problem
  • Longest Common Subsequence (LCS)
  • Coin Change Problem

3. Graphs

  • Breadth-First Search (BFS)
  • Depth-First Search (DFS)
  • Dijkstra's Algorithm
  • Prim's Algorithm

4. Greedy

  • Activity Selection
  • Huffman Coding
  • Fractional Knapsack
  • Job Sequencing Problem

5. Hashing

  • Two Sum Problem
  • Find Missing Number
  • Longest Substring Without Repeating Characters
  • Anagram Detection

6. Linked Lists

  • Reverse Linked List
  • Detect Loop in Linked List
  • Merge Two Sorted Linked Lists
  • Remove Duplicates from Sorted List

7. Queue

  • Implement Queue using Arrays
  • Implement Queue using Linked List
  • Circular Queue
  • Queue Reversal

8. Recursion

  • Tower of Hanoi
  • Factorial
  • Permutations and Combinations
  • Subsets Generation

9. Searching

  • Binary Search
  • Linear Search
  • Search in Rotated Sorted Array
  • Search for Element in Matrix

10. Sorting

  • Quick Sort
  • Merge Sort
  • Insertion Sort
  • Bubble Sort

11. Stack

  • Balanced Parentheses
  • Stock Span Problem
  • Next Greater Element
  • Evaluate Postfix Expression

12. Streams

  • Filtering with Streams
  • Mapping with Streams
  • Sorting with Streams
  • Collecting into Lists/Maps

13. Trees

  • Binary Tree Traversal (Inorder, Preorder, Postorder)
  • Binary Search Tree (BST)
  • AVL Tree
  • Lowest Common Ancestor (LCA)

if the particular problem isn't present, then im still learning it bro TT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages