Skip to content

Latest commit

 

History

History
61 lines (31 loc) · 2.55 KB

README.md

File metadata and controls

61 lines (31 loc) · 2.55 KB

Useful links

Comprehensive collection of knowledge: videos, pdfs, implementations

Datastructure cheat sheet short

Datastructure cheat sheet with explenations

Data structures, Algorithms mindmap

Big-o cheat sheet

Visualising data structures and algorithms through animation

https://www.cs.usfca.edu/~galles/visualization/AVLtree.html

https://www.cs.usfca.edu/~galles/visualization/RedBlack.html

https://en.wikipedia.org/wiki/List_of_algorithms

Graphs

algorithms cheat sheet

Pathfiding

BFS with Bitmasking

In standard BFS scenarios, a visited array or set is diligently maintained to steer clear of revisiting nodes. However, BFS with Bitmasking challenges this norm. Nodes, instead of being dismissed, are revisited, now equipped with an additional layer of information — the state. This state, often represented by a bitmask, augments the node’s identity, enriching the exploration process. Used in solution of Travelling salesman problem.

TSP solution with BFS + Bitmasking video explanation pt1

TSP solution with BFS + Bitmasking video explanation pt2, code

Eulerian circuit and path

Network flow

bipartite matching

See also: bipartite matching, capacity scaling

source

youtube

In computer programming, the process of modifying and utilizing binary representations of numbers or any other data is known as bitmasking.

See also chapter 10 "Bit manipulation", "Competitive programmer's handbook" by Antti Laaksonen