Joe Celko's Puzzles and Answers - The Restaurant seat assignment Problem Sat Jul 31, 2010 by Peter Larsson in optimization, sql-server-2008, algorithms, sql-server-2005, celko-puzzle This problem is designed to come up with a solution that uses the smallest amount of storage possible for a 1,000 seat restaurant. I've come up with a solution that need only 125 bytes of storage. Read more →