Skip to content

Data Structures and Algorithms including Linked List , Stack, Queue, Arrays, Hash Table, Search, Strings, Numbers, Trees

Notifications You must be signed in to change notification settings

MohammedVaraliya-2/Data-Structures-And-Algorithms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Title Solution

Stack

01 Stack The Stack data Structure
02 Stack The Stack data Structure : Understanding Stack
03 Stack Determine if parenthesis are balanced
04 Stack Convert integer to binary
05 Stack The Stack data Structure : Reverse String
00 Stack Problem Statements

Queue

01 Queue The Queue Data Structure
02 Queue The Queue Data Structure
03 Queue Queue Data Structure : Producer Consumer Problem
04 Queue Queue Data Structure : Producer Consumer Problem
05 Queue Queue Data Structure : Print Binary Numbers From 1 to 10 Using Queue
00 Queue Problem Statements

Linked List

01 Singly Linked List Singly Liked List
02 Singly Linked List Singly Linked Lists -- Length of List
03 Singly Linked List Singly Linked Lists -- Node Swap
04 Singly Linked List Singly Linked Lists -- Reverse
05 Singly Linked List Singly Linked Lists -- Merge Two Sorted Lists
06 Singly Linked List Singly Linked Lists -- Remove Duplicates
07 Singly Linked List Singly Linked Lists -- Nth-to-Last Node
08 Singly Linked List Singly Linked Lists -- Count Occurrence
09 Singly Linked List Singly Linked Lists -- Rotate
10 Singly Linked List Singly Linked Lists -- Is Palindrome
11 Singly Linked List Singly Linked Lists -- Move Tail to Head
12 Singly Linked List Singly Linked Lists -- Sum Two Lists
13 Singly Linked List Singly Linked Lists -- Reorder List
14 Singly Linked List Singly Linked Lists -- Remove Nth Node From End of List
15 Singly Linked List Singly Linked Lists -- Linked List Cycle
16 Singly Linked List Singly Linked Lists -- Remove Nth Node From End of List
17 Singly Linked List Singly Linked Lists -- Merge k Sorted Lists
00 Singly Linked List Problem Statements
00 Singly Linked List(Leetcode Problems) Problem Statements
01 Leetcode : Singly Linked List Reverse Linked List
02 Leetcode : Singly Linked List Merge Two Sorted Lists
00 Leetcode : Singly Linked List Problem Statements
01 Doubly Linked List Doubly Linked Lists -- Append and Prepend
02 Doubly Linked List Doubly Linked Lists -- Add Node Before/After
03 Doubly Linked List Doubly Linked Lists -- Delete Node
04 Doubly Linked List Doubly Linked Lists -- Reverse
05 Doubly Linked List Doubly Linked Lists -- Remove Duplicates
06 Doubly Linked List Doubly Linked Lists -- Pairs with Sum
00 Doubly Linked List Problem Statements
01 Circular Linked List Circular Linked Lists -- Append and Prepend
02 Circular Linked List Circular Linked Lists -- Remove Node
03 Circular Linked List Circular Linked Lists -- Split List
04 Circular Linked List Circular Linked Lists -- Josephus Problem
05 Circular Linked List Circular Linked Lists -- Is Circular Linked List
00 Circular Linked List Problem Statements

Iteration & Recursion

01 Iteration & Recursion Iterative Method
02 Iteration & Recursion Recursive Method
03 Iteration & Recursion Recursive Method: Fibonacci Number
04 Iteration & Recursion Recursive Method: List Sum
05 Iteration & Recursion Recursive Method: Sum Of Integer
06 Iteration & Recursion Recursion: Sum Of Positive Integer
06 Iteration & Recursion Recursion: Calculate The Harmonic Sum
00 Iteration & Recursion Problem Statements

Arrays

01 Arrays Arrays: Array Advance Game
02 Arrays Greedy Algorithms: Optimal Task Assignment
03 Arrays Sorting Algorithms: Intersection of Two Sorted Arrays
04 Arrays Arrays: Arbitrary Precision Increment
05 Arrays Arrays: Two Sum Problem
06 Arrays Arrays: Buy and Sell Stock
07 Arrays Subarray Sum Equals K
08 Arrays Contains Duplicate
09 Arrays Group Anagrams
10 Arrays Top K Frequent Elements - Bucket Sort
11 Arrays Product of Array Except Self
12 Arrays Longest Consecutive Sequence
13 Arrays 3Sum
14 Arrays Container With Most Water
00 Arrays Problem Statements

Hash Table

01 Hash Table Hash Table Implementation
02 Hash Table Hash Table Implementation : Get Hash
03 Hash Table Hash Table Implementation : Collision Handling In Hash Table
00 Hash Table Problem Statements

Search

01 Linear Search Linear Search
02 Linear Search Linear Search : Find Elements
00 Linear Search Problem Statements
01 Binary Search Binary search
02 Binary Search Binary Search: Find Closest Number
03 Binary Search Binary Search: Find Fixed Point
04 Binary Search Binary Search: Find Bitonic Peak
05 Binary Search Binary Search: Find First Entry in List with Duplicates
06 Binary Search Binary Search: Python's Bisect Method
07 Binary Search Binary Search: Integer Square Root
08 Binary Search Find Minimum in Rotated Sorted Array
09 Binary Search Binary Search: Find Index Of All Occurances
10 Binary Search Binary Search: Search in Rotated Sorted Array
00 Binary Search Problem Statements

Sorting Algorithms

02 Bubble Sort Bubble Sort
03 Bubble Sort Bubble Sort : Using Key
00 Bubble Sort Problem Statements
01 Quick Sort Quick Sort: Hoare Partition
02 Quick Sort Quick Sort: Lomuto Partition
00 Quick Sort Problem Statements
01 Insertion Sort Insertion Sort
00 Insertion Sort Problem Statements
01 Merge Sort Merge Sort Two Sorted List
02 Merge Sort Merge Sort: One Unsorted List
03 Merge Sort Merge Sort: Using Key
00 Merge Sort Problem Statements
01 Shell Sort Shell Sort
02 Shell Sort Shell Sort: Remove Duplicates
00 Shell Sort Problem Statements
01 Selection Sort Selection Sort
02 Selection Sort Selection Sort: Dictionary
00 Selection Sort Problem Statements

Strings

01 Strings Reverse String
02 Strings Count Consonants in String
03 Strings Look-and-Say Sequence
04 Strings String Processing: Spreadsheet Encoding
05 Strings String Processing: Is Palindrome
06 Strings String Processing: Is Anagram
07 Strings String Processing: Is Palindrome Permutation
08 Strings String Processing: Check Permutation
09 Strings String Processing: Is Unique
10 Strings String Processing: Integer to String
11 Strings String Processing: String to Integer
12 Strings Longest Substring Without Repeating Characters
13 Strings Encode and Decode Strings
14 Strings Longest Repeating Character Replacement
15 Strings Minimum Window Substring
00 Strings Problem Statements

Integers

01 Integers Add Digits
00 Integers Problem Statements

Numbers

01 Numbers Product of Two Numbers
02 Numbers Numbers: Convert Integer To Binary
03 Numbers Numbers: Convert Binary To Integer
04 Numbers Roman to Integer
00 Numbers Problem Statements

Tree Data Structures

01 General Trees General Trees
00 General Trees Problem Statements
01 Binary Trees Binary Trees: Traversal Algorithms Pre-Order
02 Binary Trees Binary Trees: Traversal Algorithms In-Order
03 Binary Trees Binary Trees: Traversal Algorithms Post-Order
04 Binary Trees Binary Trees: Traversal Algorithms Level-Order
05 Binary Trees Binary Trees: Traversal Algorithms Reverse Level-Order
06 Binary Trees Binary Trees: Calculating Height of Tree
07 Binary Trees Binary Trees: Calculating Size of Tree
08 Binary Trees Binary Trees: Invert Binary Tree
09 Binary Trees Binary Trees: Maximum Depth of Binary Tree
10 Binary Trees Binary Trees: Same Tree
00 Binary Trees Problem Statements
01 Binary Search Trees Binary Search Trees: Insertion
02 Binary Search Trees Binary Search Trees: Searching
03 Binary Search Trees Binary Search Trees: Checking the BST Property
04 Binary Search Trees Binary Search Trees: Using list
05 Binary Search Trees Binary Search Trees: Using list - In-Order-Traversal
06 Binary Search Trees Binary Search Trees: Using list - Post-Order-Traversal
07 Binary Search Trees Binary Search Trees: Using list - Pre-Order-Traversal
08 Binary Search Trees Binary Search Trees: Using list - Delete Node Method 1
09 Binary Search Trees Binary Search Trees: Using list - Delete Node Method 2
00 Binary Search Trees Problem Statements

Graph Data Structure

01 Graph Data Structure Graph Data Structure
00 Graph Data Structure Problem Statements

About

Data Structures and Algorithms including Linked List , Stack, Queue, Arrays, Hash Table, Search, Strings, Numbers, Trees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.5%
  • Jupyter Notebook 18.5%