Skip to content

Commit c9481a9

Browse files
committed
merge
2 parents f16e01c + ed7dc9a commit c9481a9

File tree

88 files changed

+1959
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+1959
-308
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.idea
2+
algorithms/__pycache__/

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1-
# programming-problems
1+
# algorithms-programming-problems
22
Notes and code from HackerRank Challenges and other programming problems.
33

4+
**NOTE: I am working to expand the Algorithms directory. I do not have plans to expand on the other directories in the short term.**
5+
46
## Contents
5-
### Problem Areas
7+
8+
1. Algorithm implementations: `algorithms`
9+
2. Programming Problems: `programming-problems`
10+
3. Flashcards: `flashcards`
11+
12+
## 1. Algorithm implementations
13+
14+
Implementations of key algorithms for tackling programming problems. Language: Python 3.
15+
16+
## 2. Programming Problems
17+
18+
### Problems by Problem Areas
619
Problems classified by area are from HackerRank.
720

821
**Finding these problems**: E.g. problems in the category 'Mathematics' are in a directory called 'mathematics'.
@@ -20,7 +33,8 @@ These problems are not classified by area, but by source. These problems are not
2033
* InterviewCake
2134
* Cracking the Coding Interview by Gabrielle Laakmann-McDowell (`laakmann-mcdowell`)
2235

23-
### Flashcards
24-
Work-in-progress: flashcard content to import into Anki (flashcard software).
36+
## 3. Flashcards
37+
Flashcard content to import into Anki (flashcard software).
38+
2539
* General programming terminology
2640
* Python syntax

alg-io.py

Lines changed: 0 additions & 148 deletions
This file was deleted.

algorithms/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Algorithms
2+
3+
Algorithms implemented in Python. Implementations of machine learning algorithms can be found in the directory `machine-learning`.
4+
5+
Algorithms implemented:
6+
- Breadth-first search `bfs.py`
7+
- Depth-first search `dfs.py`
8+
- Flood fill (DFS version) `flood_fill.py`
9+
- Finding articulation points (brute force only)
10+
- TODO: reframe as using backedge technique to (1) find articulation points, (2) find bridges
11+
- Dynamic programming (as ipynb)
12+
13+
Data structures and environments implemented:
14+
- Graphs
15+
- 2D grid
16+
17+
TODO:
18+
- BFS and DFS as part of the Graph class
19+
- Greedy
20+
- Dynamic programming as a .py file
21+
- Shortest path
22+
- Minimum Spanning Tree (MST)
23+
- Sorts
24+
- Searches
25+
- Complete Search
26+
- Heuristic search
27+
- Approximate search
28+
- Knapsack
29+
- Computational geometry
30+
- Network flow
31+
- Eulerian Path
32+
- Two-dimensional convex hull
33+
- BigNums
34+
- Finding articulation points (uses backedges or bridges)
35+
- Other graph algorithms (Hamiltonian Path, Maximum Flow, min cost max flow, topological sort)

algorithms/alg-implementation.py

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)