Caitlin Wilson

14%
Flag icon
What if, as the guests arrived, each one hugged the others in greeting? Your first guest hugs you; your second guest has two hugs to give; your third guest, three. How many hugs will there be in total? This turns out to be “Big-O of n-squared,” written O(n2) and also known as “quadratic time.”
Algorithms to Live By: The Computer Science of Human Decisions
Rate this book
Clear rating
Open Preview