Discussion:
shuffle function
(too old to reply)
Aaron Neufeld
2011-07-14 17:12:53 UTC
Permalink
On the project page it says that we may not modify the shuffle algorithm.
Can we still move the block of code (into a different file) and change the
names of the variables to match our implementation, as long as we keep the
actual algorithm the same?

Thanks,

Aaron
cs246
2011-07-14 18:37:50 UTC
Permalink
Post by Aaron Neufeld
On the project page it says that we may not modify the shuffle
algorithm. Can we still move the block of code (into a different file)
and change the names of the variables to match our implementation, as
long as we keep the actual algorithm the same?
Thanks,
Aaron
Yes, the algorithm itself should not be changed but where it is located
and what names are used may be changed.

What is important is that you end up with the same calls to shuffle as
we do, otherwise your solution will differ.
--
-------------------------------------------------
John Munnings
CS 246 Tutor
School of Computer Science, UW
Office: DC3128
-------------------------------------------------
Loading...