85 results
tagged *
algorithm
✕
*

Crack LeetCode, not only how, but also why.

Do you actually use algorithms and data structures on your day to day job? I've noticed a growing trend of people assuming algorithms are pointless questions that are asked by tech companies purely as an arbitrary measure. I hear more people complain about how all of this is a purely academic exercise. This notion was definitely popularized after Max Howell, the author of Homebrew, posted his Google interview experience:

Google: 90% of our engineers use the software you wrote (Homebrew), but you canâ€™t invert a binary tree on a whiteboard so fuck off.

Learn how to use the Logistic Regression model to classify unseen data.

- Seeded-KMeans
- Constrainted-KMeans
- COP-KMeans
- Pairwise constrained K-Means (PCK-Means)
- Metric K-Means (MK-Means)
- Metric pairwise constrained K-Means (MPCK-Means)

- Explore & Consolidate
- Min-max
- Normalized point-based uncertainty (NPU) method

A* algorithm visualizer written in pygame.

Graphical A* simulation.

Collections: double linked list, deque, RBtree, channels.

Normally, the arrangement of mines is decided at the start of the game (except for some trickery so that you cannot lose on the first click). But what if there was no pre-determined arrangement, and the game was allowed to choose after you play?

An interesting article describing the logic of this original minesweeper game.

TextDistance, a python library for comparing distance between two or more sequences by many algorithms.

Features:

- 30+ algorithms
- Pure python implementation
- Simple usage
- More than two sequences comparing
- Some algorithms have more than one implementation in one class.
- Optional
`numpy`

usage for maximum speed.

All Algorithms implemented in Python.