├── .cpp ├── Array ├── AverageInTheArray.cpp ├── Largest_Special_sum.cpp ├── Max_in_subarray.cpp ├── Merge-2-Sorted-Arrays.cpp ├── arr.c ├── floodfillalgo.cpp ├── kadane_algorithm.cpp ├── peakelementarray.cpp ├── reversearray.cpp ├── rotaion_2d_array.cpp └── two_sum.cpp ├── Ford-Fulkerson Algorithm.cpp ├── Graphs ├── Dijkstra's Algorithm .cpp ├── Floyd-Warshall.cpp ├── Kruskalsalgorithm.cpp └── Traveling Salesman Problem.cpp ├── Leetcode ├── 1009. Complement of Base 10.cpp ├── 15. 3Sum.cpp ├── 1922. Count Good Numbers.cpp ├── 264. Ugly Number II.cpp ├── 273Integer to English Words.cpp ├── 274. H-Index.cpp ├── 289. Game of Life.cpp ├── 297. Serialize and Deserialize Binary Tree.cpp ├── 3.LongestSubstringWithoutRepeatingCharacters.cpp ├── 347-Top K frequent Elements ├── 367. Valid Perfect Square.cpp ├── 37Sudoku Solver.cpp ├── 4. Median of Two Sorted Arrays.cpp ├── 42TrappingRainWater.cpp ├── 5.LongestPalindromicSubstring.cpp ├── 785-Is Graph Bipartite ├── 84LargestRectangleinHistogram.cpp ├── DungeonGame.cpp ├── Max_subarray_sum.cpp └── rottenOranges.cpp ├── Linked List ├── LRU_Cache.cpp └── Priyanshu linked_list.cpp ├── Math ├── Create-Factorial-of-number.cpp ├── Matrix Chain Multiplication.cpp ├── armstrong.cpp ├── fibonacci_no.cpp ├── odd_even.cpp ├── pascal_triangle2.cpp ├── prime_no.cpp ├── reversenumber.cpp └── sieveOfEratosthenes.cpp ├── README.md ├── Searching ├── Binary.cpp └── Linearsearch.cpp ├── Sort elements by frequency.cpp ├── Sorting ├── BeadSort.cpp ├── Bucketsort.cpp ├── Heapsort.cpp ├── MergeSort.cpp ├── Selection_sort.cpp ├── Topological_Sorting.cpp ├── Treesort.cpp ├── bubblesort.cpp ├── cyclicSort.cpp ├── exponential.cpp ├── insertion.cpp ├── median_trwo_sorted_array.cpp ├── quicksort.cpp └── shellSort.cpp ├── Sortvector.Cpp ├── Tree ├── binarytree.cpp └── minheighttree.cpp └── swap.cpp /.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/.cpp -------------------------------------------------------------------------------- /Array/AverageInTheArray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/AverageInTheArray.cpp -------------------------------------------------------------------------------- /Array/Largest_Special_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/Largest_Special_sum.cpp -------------------------------------------------------------------------------- /Array/Max_in_subarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/Max_in_subarray.cpp -------------------------------------------------------------------------------- /Array/Merge-2-Sorted-Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/Merge-2-Sorted-Arrays.cpp -------------------------------------------------------------------------------- /Array/arr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/arr.c -------------------------------------------------------------------------------- /Array/floodfillalgo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/floodfillalgo.cpp -------------------------------------------------------------------------------- /Array/kadane_algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/kadane_algorithm.cpp -------------------------------------------------------------------------------- /Array/peakelementarray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/peakelementarray.cpp -------------------------------------------------------------------------------- /Array/reversearray.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/reversearray.cpp -------------------------------------------------------------------------------- /Array/rotaion_2d_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/rotaion_2d_array.cpp -------------------------------------------------------------------------------- /Array/two_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Array/two_sum.cpp -------------------------------------------------------------------------------- /Ford-Fulkerson Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Ford-Fulkerson Algorithm.cpp -------------------------------------------------------------------------------- /Graphs/Dijkstra's Algorithm .cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Graphs/Dijkstra's Algorithm .cpp -------------------------------------------------------------------------------- /Graphs/Floyd-Warshall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Graphs/Floyd-Warshall.cpp -------------------------------------------------------------------------------- /Graphs/Kruskalsalgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Graphs/Kruskalsalgorithm.cpp -------------------------------------------------------------------------------- /Graphs/Traveling Salesman Problem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Graphs/Traveling Salesman Problem.cpp -------------------------------------------------------------------------------- /Leetcode/1009. Complement of Base 10.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/1009. Complement of Base 10.cpp -------------------------------------------------------------------------------- /Leetcode/15. 3Sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/15. 3Sum.cpp -------------------------------------------------------------------------------- /Leetcode/1922. Count Good Numbers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/1922. Count Good Numbers.cpp -------------------------------------------------------------------------------- /Leetcode/264. Ugly Number II.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/264. Ugly Number II.cpp -------------------------------------------------------------------------------- /Leetcode/273Integer to English Words.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/273Integer to English Words.cpp -------------------------------------------------------------------------------- /Leetcode/274. H-Index.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/274. H-Index.cpp -------------------------------------------------------------------------------- /Leetcode/289. Game of Life.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/289. Game of Life.cpp -------------------------------------------------------------------------------- /Leetcode/297. Serialize and Deserialize Binary Tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/297. Serialize and Deserialize Binary Tree.cpp -------------------------------------------------------------------------------- /Leetcode/3.LongestSubstringWithoutRepeatingCharacters.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/3.LongestSubstringWithoutRepeatingCharacters.cpp -------------------------------------------------------------------------------- /Leetcode/347-Top K frequent Elements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/347-Top K frequent Elements -------------------------------------------------------------------------------- /Leetcode/367. Valid Perfect Square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/367. Valid Perfect Square.cpp -------------------------------------------------------------------------------- /Leetcode/37Sudoku Solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/37Sudoku Solver.cpp -------------------------------------------------------------------------------- /Leetcode/4. Median of Two Sorted Arrays.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/4. Median of Two Sorted Arrays.cpp -------------------------------------------------------------------------------- /Leetcode/42TrappingRainWater.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/42TrappingRainWater.cpp -------------------------------------------------------------------------------- /Leetcode/5.LongestPalindromicSubstring.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/5.LongestPalindromicSubstring.cpp -------------------------------------------------------------------------------- /Leetcode/785-Is Graph Bipartite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/785-Is Graph Bipartite -------------------------------------------------------------------------------- /Leetcode/84LargestRectangleinHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/84LargestRectangleinHistogram.cpp -------------------------------------------------------------------------------- /Leetcode/DungeonGame.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/DungeonGame.cpp -------------------------------------------------------------------------------- /Leetcode/Max_subarray_sum.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/Max_subarray_sum.cpp -------------------------------------------------------------------------------- /Leetcode/rottenOranges.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Leetcode/rottenOranges.cpp -------------------------------------------------------------------------------- /Linked List/LRU_Cache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Linked List/LRU_Cache.cpp -------------------------------------------------------------------------------- /Linked List/Priyanshu linked_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Linked List/Priyanshu linked_list.cpp -------------------------------------------------------------------------------- /Math/Create-Factorial-of-number.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/Create-Factorial-of-number.cpp -------------------------------------------------------------------------------- /Math/Matrix Chain Multiplication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/Matrix Chain Multiplication.cpp -------------------------------------------------------------------------------- /Math/armstrong.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/armstrong.cpp -------------------------------------------------------------------------------- /Math/fibonacci_no.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/fibonacci_no.cpp -------------------------------------------------------------------------------- /Math/odd_even.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/odd_even.cpp -------------------------------------------------------------------------------- /Math/pascal_triangle2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/pascal_triangle2.cpp -------------------------------------------------------------------------------- /Math/prime_no.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/prime_no.cpp -------------------------------------------------------------------------------- /Math/reversenumber.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/reversenumber.cpp -------------------------------------------------------------------------------- /Math/sieveOfEratosthenes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Math/sieveOfEratosthenes.cpp -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Hacktoberfest2023 2 | here you can contribute dsa question in cpp 3 | -------------------------------------------------------------------------------- /Searching/Binary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Searching/Binary.cpp -------------------------------------------------------------------------------- /Searching/Linearsearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Searching/Linearsearch.cpp -------------------------------------------------------------------------------- /Sort elements by frequency.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sort elements by frequency.cpp -------------------------------------------------------------------------------- /Sorting/BeadSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/BeadSort.cpp -------------------------------------------------------------------------------- /Sorting/Bucketsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/Bucketsort.cpp -------------------------------------------------------------------------------- /Sorting/Heapsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/Heapsort.cpp -------------------------------------------------------------------------------- /Sorting/MergeSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/MergeSort.cpp -------------------------------------------------------------------------------- /Sorting/Selection_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/Selection_sort.cpp -------------------------------------------------------------------------------- /Sorting/Topological_Sorting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/Topological_Sorting.cpp -------------------------------------------------------------------------------- /Sorting/Treesort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/Treesort.cpp -------------------------------------------------------------------------------- /Sorting/bubblesort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/bubblesort.cpp -------------------------------------------------------------------------------- /Sorting/cyclicSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/cyclicSort.cpp -------------------------------------------------------------------------------- /Sorting/exponential.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/exponential.cpp -------------------------------------------------------------------------------- /Sorting/insertion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/insertion.cpp -------------------------------------------------------------------------------- /Sorting/median_trwo_sorted_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/median_trwo_sorted_array.cpp -------------------------------------------------------------------------------- /Sorting/quicksort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/quicksort.cpp -------------------------------------------------------------------------------- /Sorting/shellSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sorting/shellSort.cpp -------------------------------------------------------------------------------- /Sortvector.Cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Sortvector.Cpp -------------------------------------------------------------------------------- /Tree/binarytree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Tree/binarytree.cpp -------------------------------------------------------------------------------- /Tree/minheighttree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/Tree/minheighttree.cpp -------------------------------------------------------------------------------- /swap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s7917/Hacktoberfest2023/HEAD/swap.cpp --------------------------------------------------------------------------------