Final 2007 Spring Number 5

1 view
Skip to first unread message

Lindsey Joseph

unread,
May 11, 2011, 5:43:32 PM5/11/11
to cs2110-sp11
I was not able to attend the review session, but I had a question on
number 5 from the spring 2007 prelim. What exactly does h(k) = k mod 8
mean?

Teddy Ni

unread,
May 11, 2011, 5:47:50 PM5/11/11
to cornell-c...@googlegroups.com
It means the remainder after k is divided by 8. So, h(k) will be in the range 0 to 7 inclusive.

Teddy
Reply all
Reply to author
Forward
0 new messages