trekhleb
Repos
21
Followers
12942
Following
7

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

161869
25240

🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained

20807
3692

📚 Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations.

14092
2204

🤖 NanoNeuron is 7 simple JavaScript functions that will give you a feeling of how machines can actually "learn"

2161
113

🌅 Content-aware image resizer and object remover based on Seam Carving algorithm

1448
64

🤖 Interactive Machine Learning experiments: 🏋️models training + 🎨models demo

1368
240

Events

Add a recursive version of the Longest Common Subsequence.

Created at 56 minutes ago

Add a recursive version of the Longest Common Substring.

Created at 1 hour ago
trekhleb delete branch node-16
Created at 1 hour ago

Upgrade packages and Node versions. (#989)

  • Upgrade to Node 16

  • Upgrade packages and Node versions.

Created at 1 hour ago
pull request closed
Upgrade packages and Node versions.
Created at 1 hour ago
pull request opened
Upgrade packages and Node versions.
Created at 1 hour ago
trekhleb create branch node-16
Created at 1 hour ago

Add js-algo repo achievement.

Created at 4 days ago

Add js-algo repo achievement.

Created at 5 days ago

Refactor LRU Cache.

Add an example of the LRU Cache based on the Map.

Created at 6 days ago

Update time complexity table for LRU.

Update time complexity table for LRU.

Update time complexity table for LRU.

Created at 6 days ago

Update LRU Cache README.

Created at 6 days ago

Update LRU Cache image.

Created at 6 days ago
trekhleb delete branch lru-cache
Created at 6 days ago

Add an example of the LRU (Least Recently Used) Cache implementation (#980)

  • Add an example of the LRU Cache implementation.

  • Promote the node on set() as well.

  • Add LRU Cache images.

Created at 6 days ago
pull request closed
Add an example of the LRU (Least Recently Used) Cache implementation

The LRUCache implementation example. The solution uses a HashMap for fast O(1) cache items access, and a DoublyLinkedList for fast O(1) cache items promotions and eviction (to keep the maximum allowed cache capacity).

Created at 6 days ago
pull request opened
Add an example of the LRU (Least Recently Used) Cache implementation

The LRUCache implementation example. The solution uses a HashMap for fast O(1) cache items access, and a DoublyLinkedList for fast O(1) cache items promotions and eviction (to keep the maximum allowed cache capacity).

Created at 6 days ago
trekhleb create branch lru-cache
Created at 6 days ago