{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

DroppingBalls - 15-121 Introduction to Data Structures...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
15-121: Introduction to Data Structures Fall 2009 Exercise 09/16/2009 Dropping Balls Due: Fri, Sept 18 10:30am beginning of class Assignment: (worth 3 exercise points) For this exercise, you may work in pairs (no more than 2, though). If you do work in a pair, only submit one copy with both names on it. By putting two names on it, you are stating that both of you contributed significantly to the answer. Setup: You are in an N-story building. You are given two identical glass balls. Imagine dropping one ball out of a window. The ball will either shatter when it hits the ground, or it will be unscathed. There is some story, K, for which the ball will be unscathed if dropped from stories 1 .. K, but will
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}