Getting started video available here phase 1 and here here phase 2. You might also consider skimming the reference documents for this lab before coming to lab though this is not required: This makes them easy to print or look at in a debugger. Tests are run using three different key types:. There is no standard format required for your results, and there is no required number of data points. Notify me of new posts via email.
While not required by the interface, you’ll need this for the speed tester in part C to work. To keep things simple, your set will only allow put and contains operations. If you observed anthing interesting hopefully you did , then you should explain this interesting thing. Basic Java Syntax part 2 Optional. Things were a bit different then.
Again record your results in speedTests.
Look closely at LinkedListStringSet to see how this class achieves the ability to be instantiated as an initially empty set. You’ll want nomework use the NextString method provided in StringUtils.
Here is a sample project solution from a previous term, with its project handout.
You are commenting using your WordPress. By continuing to use this website, you agree to their use.
So, testing with String keys and relying on the default hashCode methods will not make the utility of the more sophisticated compression function apparent. Record your results in speedTest. Slides for videos here. Emacs documentationSimple Unix usageVersion control with the ‘hw’ command. Fill in your details below or click an icon to log in: Notify me of new homewprk via email.
Make sure you’ve completed HW0 before coming to lab. Leave a Reply Cancel reply Enter your comment here Testing was “by hand”, controlled from the makefile, rather than using JUnit. Email Address never made public. There is no standard format required for your results, and there is no required number of hoomework points. Things were a bit different then. Tests are run using three different key types: Solutions Directories containing code for homework solutions and lab projects are here. Please report errors in the labs to your TA, or, if working from home, simply mail to cs61b cs.
Getting started on Project 2.
The Iterator and Iterable interfaces. Implement HashTableChained The one thing of hpmework here is the more sophisticated compression function mentioned in the spec. This assignment asks you to implement a Chained Hash Table, and create a Hash Function for a game board object. Please fill out our background survey. Some tests will behave equally well with either function, some will show significant improvement with the more sophisticated one.
You are commenting using your Facebook account. Strings from two wordlists, one from cs50, another from csa.
The keyset and the hash function used makes a difference. It works by homewori the user for an input size N, then generates N strings of length 10 and inserts them into the set. Project 2 slides here. You are commenting using your Google account.
I’d recommend starting by just copying and pasting the code from InsertRandomSpeedTest and then making changes where necessary. Basic Java Syntax Due: