The Big Bang Theory: The Friendship Algorithm

Sheldon develops a friendship algorithm based on a children's book and utilizes it in an attempt to improve his friendship with Kripke. When trying to find an activity that is mutually interesting for both of them, Sheldon runs into an infinite loop in his algorithm. Howard modifies the algorithm to include a loop counter and an escape.

Public Discussion Questions

No discussion questions

Please sign in to add a discussion question.


No standards

Please sign in to add standards to this clip.

Public Pause Prompts

No pause prompts


  • Robin Robertson
    about 1 year ago
    Also good for demonstrating flowcharts.
Please sign in to write a comment.

Related Clips

Computer Science → String Comparison → String Metrics
Computer Science → Programming Languages → BASIC
Computer Science → Units of Information → Bits and Bytes
Computer Science → Network Security → Hacking
Computer Science → Computer Security → Authentication
Computer Science → Coding → Programming Preference