πͺ Leetcode DS & Algo Resources
Open in Telegram
Discuss here ππ @leetcoded_discuss What will be shared here ? ππ - Tons of coding resources β€οΈ - Interview Experience of people - Trending Coding News - Crack FAANGπͺ #compulsory for CS/IT students !! Buy 6 months Linkedin Premium π @dishu_disha
Show moreThe country is not specifiedThe category is not specified
1 091
Subscribers
+824 hours
+427 days
+23630 days
Posts Archive
A list of the most important and commonly asked graph algorithms:
- DFS, BFS
- Topological sort β Iterative(Kahnβs) and Recursive
- Dijkstra, Bellman-ford, Floyd Warshall
- Prims, Kruskals
- Union find (by rank as well)
- KosaRaju, Tarjan
Here_is_the_basic_concepts_and_problems_on_recursion__.pdf1.10 MB
π― 10 πππ²π¬ ππ¨πππ¦ππ© ππ₯ππ§ ππ¨π« πππ¬πππ«π’π§π ππ«π«ππ²π¬
π Day 1
Understand Big O notation (Time and Space complexity)
π Day 2
Study Basic Concepts of Array and get familiar with List DS in the programming language you chose.
π Reverse the array in place (space complexity should be constant)
Input β>> 3,5,9,4,2
Output β>> 2,4,9,5,3
π Insert an element in between of array
π Day 3 and Day4
π Understand Quick Sort, Merge Sort, Insertion Sort and Selection Sort
π Implement them all in your fav programming language
π Day 5
π Understand Binary Search Algorithm
π Search an element in Sorted Array
π Leetcode Question 33 β> https://lnkd.in/dcXDGjJb
π Leetcode Question 50 β> https://lnkd.in/d8XnAp22
π Day 6
πUnderstand 2D matrix/ @D Arrays
πSearch a 2D Matrix Leetcode question 74 --> https://lnkd.in/db7cGdez
π Set Matrix to Zero β> Leetcode 73 β> https://lnkd.in/dV3gUPEf
π Pascals Triangle β> Leetcode 118 β> https://lnkd.in/dCrmGNby
π Rotate Matrix β> leetcode 48 β> https://lnkd.in/d7wkU8UV
π Day 7
π Kadaneβs Algo β> Maximum Subbarray Leetcode 73 β> https://lnkd.in/dJ2X9gzw
π Sort Array of 0βs 1βs and 2βs Leetcode 75. β> https://lnkd.in/dNWw6Bp8
π Two Sum Problem β> Leetcode 1 β> https://lnkd.in/dqsSyqBB
π Find Duplicate β> https://lnkd.in/dMdz7KXq
π Day 8 β> Level Up
πStock Buy and Sell β> Leetcode 121 β> https://lnkd.in/dGv_8HUE
π Next Permutation β> Leetcode 32 β> https://lnkd.in/dNfymKti
π Merge Intervals β > Leetcode β> https://lnkd.in/dxbbt7wF
πMerge Sorted Arrays β> https://lnkd.in/dNzpA3eU
π Day 9 β> Level up
πReverse pairs β> https://lnkd.in/d7erN9PU
π Grid Unique Paths β> https://lnkd.in/dUS3mxaS
π 3 Sum problem --> https://lnkd.in/djjGS4ep
π 4 Sum Problem β> https://lnkd.in/dtKJ-a5K
π Day 10
πRepeat Missing Number Array β> https://lnkd.in/d4C26Bn8
π Reverse Pairs β> https://lnkd.in/d7erN9PU
π Longest Consecutive Subsequence β> https://lnkd.in/d-PBiptg
π Subarray with given Xor β>https://lnkd.in/dzCVTG_x
π Longest Substring without repeat β> https://lnkd.in/dtMzQbaf
7 algorithms and data structures every programmer must know :-
1.>Sort Algorithms (Merge Sort,Quick Sort,Bucket Sort,Heap Sort,Counting Sort).
2.>Search Algorithms(Binary Search,Depth/Breadth First Search).
3.>Hashing(Hashing is a technique to find appropriate data by key or ID).
4.>Dynamic Programming(DP is a method for solving a complex problem by breaking it down into simpler subproblems).
5.>Exponentiation by squaring.
6.>String Matching and Parsing(KMP AlgorithmΒ ,Rabin karp's algo).
7.>Primality Testing Algorithms(Sieve of EratosthenesΒ ,Fermat primality test).
Updates everyday, contains hand written notes in Java, check out!
https://github.com/bhavesh1129/All-In-One-Interview-Preparation/tree/main/DSA/Java/Handwritten%20Notes
