├── .gitignore ├── Backtracking ├── KnightTour.c └── NQueens.c ├── Graph Programs ├── bfs.c ├── dfs.c ├── dijkstra.cpp ├── graph_adjacency_list.cpp ├── graph_adjacency_matrix.cpp ├── graph_bfs.cpp ├── graph_connected_components.cpp ├── graph_dfs.cpp ├── graph_kruskals_algorithm.cpp └── graph_topological_sort.cpp ├── Heap └── heap.cpp ├── LinkedList ├── DLL.cpp ├── SLL.cpp └── xorlist.c ├── Patterns ├── ALternate 1 0 Lower LEFT Triangle.cpp ├── Bell Triangle.c ├── Increment by 1 Lower LEFT Trianlge.cpp ├── Inverted Tree Pattern.cpp ├── LEFT (base) Pyramid.cpp ├── Lower Triangle LEFT (numbers).cpp ├── Lower Triangle LEFT.cpp ├── Pascals Triangle.cpp ├── Pattern9.cpp ├── Square Pattern.cpp ├── Upper Tree Triangle.cpp ├── Upper Triangle LEFT.cpp └── pattern1108.cpp ├── Plan.md ├── Queue ├── queue └── queue.c ├── README.md ├── Searching Techniques └── MEDIAN_SEARCH.cpp ├── Searching problems ├── BINARY_SEARCH.cpp ├── BreadthFirstSearch.cpp ├── DepthFirstSearch.c ├── LINEAR_SEARCH.cpp ├── jumpsearch.cpp └── ternarySearch.cpp ├── Sorting ├── Heapsort.cpp ├── bubblesort.c ├── bucketsort.cpp ├── count_sort.c ├── countingsort.cpp ├── insertionsort.cpp ├── mergesort.cpp ├── quicksort.c ├── radixsort.cpp ├── selectionsort.c ├── selectionsort2.c └── shellsort.c ├── Stack ├── Stack.cpp ├── Stack2.cpp ├── StackLL.cpp ├── largestRectangleHistogram.cpp └── reverse-a-string ├── Tree Problems ├── BINARY_SEARCH_TREE.cpp └── TREE.cpp ├── duplicate.c ├── hackt.cbp ├── image.jpg ├── lucky 7 game.c ├── main.c └── unionarray.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/.gitignore -------------------------------------------------------------------------------- /Backtracking/KnightTour.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Backtracking/KnightTour.c -------------------------------------------------------------------------------- /Backtracking/NQueens.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Backtracking/NQueens.c -------------------------------------------------------------------------------- /Graph Programs/bfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/bfs.c -------------------------------------------------------------------------------- /Graph Programs/dfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/dfs.c -------------------------------------------------------------------------------- /Graph Programs/dijkstra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/dijkstra.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_adjacency_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_adjacency_list.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_adjacency_matrix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_adjacency_matrix.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_bfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_bfs.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_connected_components.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_connected_components.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_dfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_dfs.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_kruskals_algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_kruskals_algorithm.cpp -------------------------------------------------------------------------------- /Graph Programs/graph_topological_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Graph Programs/graph_topological_sort.cpp -------------------------------------------------------------------------------- /Heap/heap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Heap/heap.cpp -------------------------------------------------------------------------------- /LinkedList/DLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/LinkedList/DLL.cpp -------------------------------------------------------------------------------- /LinkedList/SLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/LinkedList/SLL.cpp -------------------------------------------------------------------------------- /LinkedList/xorlist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/LinkedList/xorlist.c -------------------------------------------------------------------------------- /Patterns/ALternate 1 0 Lower LEFT Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/ALternate 1 0 Lower LEFT Triangle.cpp -------------------------------------------------------------------------------- /Patterns/Bell Triangle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Bell Triangle.c -------------------------------------------------------------------------------- /Patterns/Increment by 1 Lower LEFT Trianlge.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Increment by 1 Lower LEFT Trianlge.cpp -------------------------------------------------------------------------------- /Patterns/Inverted Tree Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Inverted Tree Pattern.cpp -------------------------------------------------------------------------------- /Patterns/LEFT (base) Pyramid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/LEFT (base) Pyramid.cpp -------------------------------------------------------------------------------- /Patterns/Lower Triangle LEFT (numbers).cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Lower Triangle LEFT (numbers).cpp -------------------------------------------------------------------------------- /Patterns/Lower Triangle LEFT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Lower Triangle LEFT.cpp -------------------------------------------------------------------------------- /Patterns/Pascals Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Pascals Triangle.cpp -------------------------------------------------------------------------------- /Patterns/Pattern9.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Pattern9.cpp -------------------------------------------------------------------------------- /Patterns/Square Pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Square Pattern.cpp -------------------------------------------------------------------------------- /Patterns/Upper Tree Triangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Upper Tree Triangle.cpp -------------------------------------------------------------------------------- /Patterns/Upper Triangle LEFT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/Upper Triangle LEFT.cpp -------------------------------------------------------------------------------- /Patterns/pattern1108.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Patterns/pattern1108.cpp -------------------------------------------------------------------------------- /Plan.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Plan.md -------------------------------------------------------------------------------- /Queue/queue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Queue/queue -------------------------------------------------------------------------------- /Queue/queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Queue/queue.c -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/README.md -------------------------------------------------------------------------------- /Searching Techniques/MEDIAN_SEARCH.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching Techniques/MEDIAN_SEARCH.cpp -------------------------------------------------------------------------------- /Searching problems/BINARY_SEARCH.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/BINARY_SEARCH.cpp -------------------------------------------------------------------------------- /Searching problems/BreadthFirstSearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/BreadthFirstSearch.cpp -------------------------------------------------------------------------------- /Searching problems/DepthFirstSearch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/DepthFirstSearch.c -------------------------------------------------------------------------------- /Searching problems/LINEAR_SEARCH.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/LINEAR_SEARCH.cpp -------------------------------------------------------------------------------- /Searching problems/jumpsearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/jumpsearch.cpp -------------------------------------------------------------------------------- /Searching problems/ternarySearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Searching problems/ternarySearch.cpp -------------------------------------------------------------------------------- /Sorting/Heapsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/Heapsort.cpp -------------------------------------------------------------------------------- /Sorting/bubblesort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/bubblesort.c -------------------------------------------------------------------------------- /Sorting/bucketsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/bucketsort.cpp -------------------------------------------------------------------------------- /Sorting/count_sort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/count_sort.c -------------------------------------------------------------------------------- /Sorting/countingsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/countingsort.cpp -------------------------------------------------------------------------------- /Sorting/insertionsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/insertionsort.cpp -------------------------------------------------------------------------------- /Sorting/mergesort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/mergesort.cpp -------------------------------------------------------------------------------- /Sorting/quicksort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/quicksort.c -------------------------------------------------------------------------------- /Sorting/radixsort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/radixsort.cpp -------------------------------------------------------------------------------- /Sorting/selectionsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/selectionsort.c -------------------------------------------------------------------------------- /Sorting/selectionsort2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/selectionsort2.c -------------------------------------------------------------------------------- /Sorting/shellsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Sorting/shellsort.c -------------------------------------------------------------------------------- /Stack/Stack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Stack/Stack.cpp -------------------------------------------------------------------------------- /Stack/Stack2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Stack/Stack2.cpp -------------------------------------------------------------------------------- /Stack/StackLL.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Stack/StackLL.cpp -------------------------------------------------------------------------------- /Stack/largestRectangleHistogram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Stack/largestRectangleHistogram.cpp -------------------------------------------------------------------------------- /Stack/reverse-a-string: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Stack/reverse-a-string -------------------------------------------------------------------------------- /Tree Problems/BINARY_SEARCH_TREE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Tree Problems/BINARY_SEARCH_TREE.cpp -------------------------------------------------------------------------------- /Tree Problems/TREE.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/Tree Problems/TREE.cpp -------------------------------------------------------------------------------- /duplicate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/duplicate.c -------------------------------------------------------------------------------- /hackt.cbp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/hackt.cbp -------------------------------------------------------------------------------- /image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/image.jpg -------------------------------------------------------------------------------- /lucky 7 game.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/lucky 7 game.c -------------------------------------------------------------------------------- /main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/main.c -------------------------------------------------------------------------------- /unionarray.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rishabh-bansal/C-Data-Structures-and-Algorithms/HEAD/unionarray.c --------------------------------------------------------------------------------