How mandliya/algorithms_and_data_structures works
This is a data-structures-and-algorithms learning repository: its principal workflow is to inspect or run an individual problem solution and observe the computed result. The solutions are mostly independent examples, not stages in a shared application pipeline. The README also documents reusable data-structure and algorithm headers. The graph groups representative problem areas and those reusable implementations; links are limited to relationships shown in the README or sampled source. Many listed problem files were not sampled, so their internal dependencies are not asserted.
Main entry points: queueDemo.cpp Queue demonstration · binarySearchTree.impl.h Binary search tree · generic.h Generic helpers · binarySearchTreeDemo.cpp BST demonstration
Components 20
Problem solutions
- Linked-list problems
linked_list_problems/listPallindrome.cpp - Interview problems
cracking_the_coding_interview_problems/1-3-edi5-removeDuplicates.cpp - LeetCode problems
leet_code_problems/median_stream.cpp - Bit manipulation
bit_manipulation/reverseBitsOfAnInteger.cpp - Dynamic programming
dynamic_programming_problems/0_1_knapsack_problem.cpp - Backtracking problems
backtracking_problems/word_search.cpp - Math problems
math_problems/phone_digits.cpp - String problems
string_problems/robinKarpStringMatching.cpp
Graph and search
- Sort and search
sort_search_problems/first_occurrence_binary_search.cpp - Graph problems
graph_problems/dijkstra-shortest-reach.cpp - Tree problems
tree_problems/floor_ceil_bst.cpp
Reusable structures
- Queue demonstration
queue_problems/queueDemo.cpp - Generic queue
include/queue.h - Generic list
include/list.h - Binary search tree
include/impl/binarySearchTree.impl.h - BST demonstration
tree_problems/binarySearchTreeDemo.cpp
Reusable algorithms
- Generic helpers
include/generic.h - Sorting headers
include/mergeSort.h - Graph implementation
include/graph.h
Other components
- Learner
Connections 7
- Queue demonstration → Generic queue: uses queue
queue_problems/queueDemo.cpp - Queue demonstration → Generic helpers: generates values
queue_problems/queueDemo.cpp - BST demonstration → Binary search tree: demonstrates tree
tree_problems/binarySearchTreeDemo.cpp - Binary search tree → Generic helpers: uses swap
include/impl/binarySearchTree.impl.h - Learner → Linked-list problems: studies solutions
README.md - Learner → Bit manipulation: studies solutions
README.md - Learner → Queue demonstration: runs example
README.md