Silicon Valley Wiki

The Pied Piper algorithm from the show Silicon Valley is a video compression software program written in C that achieves a Weissman score in the fives. This type of video compression technology is said to be able to actually shrink the internet by as much as 10 percent with widespread adoption.

Created by the team of main characters, led by CEO Richard Hendricks and software developers Bertram Gilfoyle and Dinesh Chugtai, the pied piper algorithm was considered revolutionary enough, that the company won TechCrunch Disrupt and a $50,000 prize.

The code, when translated into real life from the show, does actually compile. The output is a simple one-liner: