Code Monkey home page Code Monkey logo

data-structures-and-algorithms's Introduction

Data Structures and Algorithms

LOC visitor count GitHub contributors

If you appreciate my work, please 🌟 this repository. It motivates me. πŸš€ πŸš€

Folder Structure

Data-Structures-and-Algorithms
β”‚   Basics.md
β”‚   README.md
β”‚   Java+Dsa_Syllabus.md
β”‚
β”œβ”€β”€β”€01. DataStructures
β”‚   β”œβ”€β”€β”€01. Linked List
β”‚   β”‚   β”œβ”€β”€β”€1. Singly-Linked-List
β”‚   β”‚   β”‚   β”œβ”€β”€β”€Basic Operations
|   |   |   |   └───01. Find Middle Element
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   └───InterviewBit Questions
β”‚   β”‚   β”‚       β”œβ”€β”€β”€01. ReverseLL
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€02. IntersectionOfLL
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€03. Kth Node From Middle
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€04. Palindrome List GQ
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€05. Merge Two Sorted List GQ
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€06. Remove Duplicates From Sorted List
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€07. Remove Duplicates From Sorted List- II GQ
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€08. Remove nth Node from List end GQ
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€09. Add two no. as List
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€10. Reverse LL in K group GQ
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       β”œβ”€β”€β”€11. Rotate LL by K place
β”‚   β”‚   β”‚       β”‚
β”‚   β”‚   β”‚       └───12. Reverse LL-ii
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€β”€2. Doubly-Linked-List
β”‚   β”‚   β”‚   β”œβ”€β”€β”€Basic Operations
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   └───Questions
β”‚   β”‚   β”‚       └───1. Two Pair Sum
β”‚   β”‚   β”‚
β”‚   β”‚   └───3. Circular-Linked-List
β”‚   β”‚
β”‚   β”œβ”€β”€β”€02. Stack
β”‚   β”‚   β”œβ”€β”€β”€Basic Operation
β”‚   β”‚   β”‚   β”œβ”€β”€β”€1. Stack using Array
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€β”€2. Stack using LinkList
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   └───3. Stack using Queue
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€β”€Infix Prefix Postfix
β”‚   β”‚   β”‚   β”œβ”€β”€β”€01. Infix to Postfix
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€β”€02. Infix to Prefix
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€β”€03. Postfix to Infix
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€β”€04. Prefix to Infix
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   β”œβ”€β”€β”€05. Postfix to Prefix
β”‚   β”‚   β”‚   β”‚
β”‚   β”‚   β”‚   └───06. Prefix to Postfix
β”‚   β”‚   β”‚
β”‚   β”‚   └───LeetCode Questions
β”‚   β”‚       β”œβ”€β”€β”€01. Remove Outermost Parentheses #1021
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€02. Remove All Adjacent Duplicates In String #1047
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€03. Build an Array With Stack Operations #1441
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€04. Baseball Game #682
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€05. Next Greater Element I #496
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€06. Crawler Log Folder #1598
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€07. Make The String Great #1544
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€08. Backspace String Compare #844
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€09. Valid Parentheses #20
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€10. Design a Stack With Increment Operation #1381
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€11. Minimum Add to Make Parentheses Valid #921
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€12. Score of Parentheses #856
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€13. Daily Temperatures #739
β”‚   β”‚       β”‚
β”‚   β”‚       └───14. Validate Stack Sequences #946
β”‚   β”‚
β”‚   β”œβ”€β”€β”€03. Queue
β”‚   β”‚   └───Basic Operations
β”‚   β”‚       β”œβ”€β”€β”€01. Queue using Array
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€02. Queue using Linked List
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€03. Queue using Stacks
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€04. Circular Queue using Array
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€05. Circular Queue using Linked List
β”‚   β”‚       β”‚
β”‚   β”‚       β”œβ”€β”€β”€06. Dequeue using circular array
β”‚   β”‚       β”‚
β”‚   β”‚       └───07. Priority Queue
β”‚   β”‚
β”‚   β”œβ”€β”€β”€04. Tree
β”‚   β”‚   β”œβ”€β”€β”€01. Introduction to Binary Tree
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€β”€02. Binary Search Tree
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€β”€03. AVL Tree
β”‚   β”‚   β”‚
β”‚   β”‚   β”œβ”€β”€β”€04. Trie
β”‚   β”‚   β”‚
β”‚   β”‚   └───05. Heap
β”‚   β”‚
β”‚   β”œβ”€β”€β”€05. ArrayList
β”‚   β”‚
β”‚   β”œβ”€β”€β”€06. HashMap
β”‚   β”‚
β”‚   β”œβ”€β”€β”€07. Set
β”‚   β”‚
β”‚   └───08. Graph
β”‚
└───02. Algorithms
    β”‚   README.md
    β”‚
    β”œβ”€β”€β”€01. Arrays
    β”‚   β”œβ”€β”€β”€01. Reverse an Array
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€02. Find the maximum and minimum element in an array
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€03. 215. Kth Largest Element in an Array
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€04. 75. Sort Colors OR Sort012
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€05. Move all negative numbers to one side
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€06. Find the Union and Intersection of Two Arrays
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€07. Cyclically Rotate an Array
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€08. Kadane's Algorithm
    β”‚   β”‚   β”œβ”€β”€β”€53. Maximum Subarray
    β”‚   β”‚   β”‚
    β”‚   β”‚   └───918. Maximum Sum Circular Subarray
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€09. Minimize the Heights II
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€10. 45. Jump Game II
    β”‚   β”‚
    β”‚   └───11. Jumping on the Clouds
    β”‚
    β”œβ”€β”€β”€02. Sorting
    β”‚   β”‚   README.md
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€01. Bubble Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€02. InsertionSort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€03. Selection Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€04. Quick Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€05. Merge Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€06. Count Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€07. Radix Sort
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€08. Heap Sort
    β”‚   β”‚
    β”‚   └───09. Cyclic Sort
    β”‚
    β”œβ”€β”€β”€03. Searching
    β”‚   β”œβ”€β”€β”€01. Linear Search
    β”‚   β”‚
    β”‚   β”œβ”€β”€β”€02. Binary Search
    β”‚   β”‚
    β”‚   └───Problems
    β”‚       β”œβ”€β”€β”€01. 1295. Find Numbers with Even Number of Digits
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€02. 1672. Richest Customer Wealth
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€03. Floor in a Sorted Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€04. Ceil in a Sorted Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€05. 744. Find Smallest Letter Greater Than Target
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€06. 34. Find First and Last Position of Element in Sorted Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€07. Find position of an element in an infinite sorted array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€08. 852. Peak Index in a Mountain Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€09. 162. Find Peak Element
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€10. 1095. Find in Mountain Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€11. 33. Search in Rotated Sorted Array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€12. Find the Rotation Count in Rotated Sorted array
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€13. 410. Split Array Largest Sum
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€14. 69. Sqrt(x)
    β”‚       β”‚
    β”‚       β”œβ”€β”€β”€15. 278. First Bad Version
    β”‚       β”‚
    β”‚       └───16. 167. Two Sum II - Input array is sorted
    β”‚
    |────04. Recursion
    |    β”‚   README.md
    |    β”‚
    |    └───Problems
    |        β”œβ”€β”€β”€01. Maximum and Minimum Value in an Array
    |        β”‚
    |        β”œβ”€β”€β”€02. Sum triangle from array
    |        β”‚
    |        β”œβ”€β”€β”€03. 509. Fibonacci Number
    |        β”‚
    |        └───04. 344. Reverse String
    |
    └────05. Graphs
         |
         └───01. Depth First Search
             |
             └───01. README.md

data-structures-and-algorithms's People

Contributors

arp99 avatar gneya avatar guptaushma avatar jaideep25-tech avatar motasimmakki avatar s-bh avatar sumannitp avatar tandrimasingha avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.