Merge: combines histories; rebase: rewrites history for linearity
Image: Carol M. Highsmith, Public domain, via Wikimedia Commons
Merge: combines histories; rebase: rewrites history for linearity
merge sort: O(n log n) always
Merge sort consistently performs at O(n log n) time complexity for any input size
BPE tokenization does: iteratively merges the most frequent adjacent byte pairs
BPE tokenization merges frequent adjacent byte pairs iteratively
consistent hashing does: minimizes remapping when nodes join/leave
Consistent hashing distributes data across nodes, minimizing remapping when nodes join/leave
Overlapping subproblems
Dynamic programming solves overlapping subproblems by storing results of subproblems to avoid redundant calculations
consistent hashing solves: minimizes key redistribution when servers are added/removed
Consistent hashing minimizes key redistribution when servers are added/removed
BPE tokenization does: iteratively merges the most frequent byte pairs
BPE tokenizes text by iteratively merging the most frequent byte pairs
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews