How ghanenxra/ds-algos-deep-mind- works
This repository is a collection of independent Python data-structure demonstrations and coding-challenge solutions, not a single application. The usual workflow is to supply input to one selected exercise and receive a returned value or printed answer; the snippets do not share a runtime orchestrator. The graph highlights representative capabilities across the tree and sampled files. Links between exercises are omitted because no shared calls or data flow are evidenced.
Main entry points: Binary Search.py Binary search · aggressive cows.py Cow placement · Old keypad in a foreign land.py Keypad presses · 643. Maximum average subarray.py Window average
Components 18
Data structures
- Linked lists
Data Structure/linklist self.py - Queues and stacks
Data Structure/Queue.py - Graph BFS
Data Structure/BFS of graph.py - Graph DFS
Data Structure/DFS of graph.py
Tree algorithms
- Tree traversal
Data Structure/Trees.py - BST insertion
LeetCode/701. Insert into a binary search tree.py - BST search
LeetCode/700. Search in a Binary Search tree.py - BST validation
LeetCode/98. Validate Binary Search Tree.py - Level traversal
LeetCode/102. Binary Tree Level order Traversal.py
Search and optimization
- Binary search
Geeks for Geeks/Binary Search.py - Cow placement
SPOJ/aggressive cows.py - Keypad presses
HackerEarth/Old keypad in a foreign land.py
Arrays and matrices
- Window average
LeetCode/643. Maximum average subarray.py - Matrix rectangle
Geeks for Geeks/Max rectangle.py - Island counting
LeetCode/200. No of Islands.py
Standalone challenges
- Recursive digit sum
HackerRank/Algorithms/Recursive digit sum.py
Other components
- Exercise user
- Answer
Connections 21
- Exercise user → Linked lists: runs exercise
- Exercise user → Queues and stacks: runs exercise
- Exercise user → Graph BFS: runs exercise
- Exercise user → Graph DFS: runs exercise
- Exercise user → Tree traversal: runs exercise
- Exercise user → BST insertion: calls solution
- Exercise user → BST search: calls solution
- Exercise user → BST validation: calls solution
- Exercise user → Level traversal: calls solution
- Exercise user → Binary search: calls solution
- Exercise user → Cow placement: provides input
- Exercise user → Keypad presses: provides input
- Exercise user → Window average: calls solution
- Exercise user → Matrix rectangle: calls solution
- Exercise user → Island counting: calls solution
- Exercise user → Recursive digit sum: provides input
- Cow placement → Answer: prints answer
- Keypad presses → Answer: prints answer
- Recursive digit sum → Answer: writes result
- Window average → Answer: returns value
- Binary search → Answer: returns result