pythonic algorithms

🏠

sudoku solver
splitting a list into two distinct sublists
string formatting
enumerate
reversing a subarray
[[binary search]]
[[string substrings]]
shifted zip
return a list with 0 or 1 items
slicing to prevent list index out of range
[[array max]]
array min
max array
max array from right
matrix transpose
matrix clockwise rotation
matrix anticlockwise rotation
itertools.product
single bidirectional pass
string contains all chars unordered
string contains all chars ordered
using xor for signedness
find missing number in array
int to base
[[gcd]]
[[depth first search]]
bfs
dp array sum
enum
Huffman Encoding
Splitting a list into to distinct lists

Advanced Python

python array module

Greedy Method

optimal merge pattern
huffman encoding
[[job scheduling with deadlines]]

Trees

minimum cost spanning tree
multistage graph