Course Hero Logo

Programming Assignment Pseudocode and Reflection - 5-2 - Caine Mongeau.docx

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 2 out of 3 pages.

The purpose of this code is to use hashing and hash tables to uniquely hold many bid objects while alsousing chaining to handle collisions. The code has functions to free up storage when the processes end, tocalculate a hash value, insert a bid, printing all of the bids, removing a bid and searching for a bid by id.The main challenge I faced in developing this code is that hashing and the related language is complexand somewhat hard to understand at first glance. I was able to utilize our resources and the zyBooks toovercome those challenges and really understand how sorting algorithms work to make this program dowhat I needed it to do.Task 1Private:CREATE a structure called NodeINITIALIZE a Bid object called bidINITIALIZE an unsigned integer called keyINITIALIZE a node pointer called nextNodePtrCREATE constructor functions to give the above variables value and to initialize a bidINITIALIZE a vector of nodes called myNodes

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 3 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
Mr. Brandon Champion
Tags
Subroutine, hash function, Bloom filter

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture