Skip to content

Commit

Permalink
Adding .gitignore file
Browse files Browse the repository at this point in the history
  • Loading branch information
bothra90 committed Feb 8, 2012
1 parent 6c2945c commit fa61c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*.swp
4 changes: 2 additions & 2 deletions README
Expand Up @@ -53,8 +53,8 @@ free blocks. (A real implementation would have to worry about these details, as

You should also implement a main program that tests your code as follows

The test function inserts (say) 10,000 randomly generated set of keys, whose associated payloads consist of the key followed by the characters "-ptr", and then generates the same set of random keys (using the same random number seed) and check that
all the keys are retrieved properly.
The test function inserts (say) 10,000 randomly generated set of keys, whose associated payloads consist of the key followed by the characters
"-ptr", and then generates the same set of random keys (using the same random number seed) and check that all the keys are retrieved properly.

The key for testing should include at least one int and one string. To generate random integer values use
the rand() function (see http://www.cplusplus.com/reference/clibrary/cstdlib/rand/ for example). To generate random strings, simply print the
Expand Down

0 comments on commit fa61c61

Please sign in to comment.