The Startup
Published in

The Startup

Going Old-School: Designing Algorithms for Fast Weighted Sampling in Production

When interview-like challenges attack in real life, we save the day with math!

This blog post was originally published on Taboola’s Engineering Blog.

If you happen to write code for a living, there’s a pretty good chance you’ve found yourself explaining…




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

Lower Bounds and Upper Bounds of a Problem

The Heat Equation: Forcing

Do you understand Newton’s Laws?

How to Solve Integer Linear Problems using Cutting-Plane Method

SPEED Mathematics By Bill Handley

A collection of proofs that 1 = 0.999…

Fibonacci Sequence Algorithm

The Basics Of Linear Algebra for Data Scientist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shaked Zychlinski

Shaked Zychlinski

Head of Recommendations at Lightricks. Lives in Tel Aviv, Israel. See me on

More from Medium

How we recommend videos to you @ Trell

OpenTelemetry for AI-Enabled Intelligent Systems in Production

L-BFGS two-loop recursion

Custom Transformers- Feature Scaling