Find Jobs
Hire Freelancers

C++ Assignment project using Hashmap

$10-30 USD

已完成
已发布大约 10 年前

$10-30 USD

货到付款
A Hash Map is a data structure used to implement an associative array, meaning, a structure that can map keys to slots (or buckets). Algorithmically, a hash map is simply a list of lists (much like an array of arrays). For this part, you will be implementing a hash map that will later store large amounts of data (Twitter, Web or Flights). The mapping provided by the hash map will allow you to access data in a fast and efficient way. Description: Implement a class called HashMap with the following properties: 1. HashMap will contain attributes and methods to store and handle your data; 2. As attributes, HashMap should contain: 2.1. A long integer value with the number of slots in the hash map; 2.2. A double linked list of double linked lists; 3. As methods, HashMap should contain the following operations: 3.1. getSize(): A query that returns the number of slots in the hash map (note that no setSize() is needed because the number of slots should be automatically updated by the operations insert and delete below). 3.2. insert(s): A modifying operation that augments the hash map with an empty slot pointed to by s. 3.3. insert(s,x): A modifying operation that augments the slot s in the hash map with the element pointed to by x. 3.4. delete(s): A modifying operation that, given a pointer s to a slot in the hash map, removes the entire slot s from the hash map. 3.5. delete(s,x): A modifying operation that, given a pointer to s and a pointer x to an element in slot s in the hash map, removes x from slot s. You have to build the HashMap class from scratch (i.e., no STL, etc) and compile your program on AWS. Your hash map should be structured like in the picture in the link below: [login to view URL] Each box in the picture represents a node (or link) of the list and should be encoded as a class. Names (e.g., "data", "prev", etc) are attributes in each class. Arrows are pointers and represent the connections within the hash map (i.e., prev, next and head are pointers to nodes). An arrow pointing to ground represents the end of the list and is programmatically implemented as a pointer to NULL. "data" and "data_slot" are classes (or structures) that will store your data. For this part, "data_slot" should contain two attributes: one string and one long integer. "data" should contain two attributes of the type string. Note that the nodes of the hash map have similar internal structure, so you should design your hash map exploring what you learned about inheritance. Here, the base class should contain all attributes and methods that are common to all nodes. Each node should derive from the base class and add methods and attributes that are particular to it. Note that this part only requires you to design and implement the classes in C++. No functional program is necessary (i.e., no main() function needed). Document everything you do as this part is going to be part of your final report.
项目 ID: 5756279

关于此项目

12提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest quality. Best Regards, Szymszteinsl
$30 USD 在1天之内
4.9 (16条评论)
5.9
5.9
12威客以平均价$37 USD来参与此工作竞价
用户头像
A proposal has not yet been provided
$29 USD 在1天之内
4.9 (228条评论)
6.1
6.1
用户头像
Hi, I am C++ expert and interested in this project. Please communicate to discuss further. Thank you
$34 USD 在2天之内
4.8 (117条评论)
6.0
6.0
用户头像
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C++ and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.
$30 USD 在1天之内
4.9 (118条评论)
5.6
5.6
用户头像
Hi, Friend. I have enough experience in C/C++ programming. I also have deep understanding about HashMap. I think I can help you perfectly & asap. Thanks.
$123 USD 在1天之内
5.0 (14条评论)
5.3
5.3
用户头像
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, of course garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$39 USD 在0天之内
4.7 (23条评论)
5.2
5.2
用户头像
hello, sreddy. i am wjx823. i hope that you hire me again. i will let you satisfy with my skill. jixing.
$35 USD 在1天之内
4.9 (6条评论)
3.8
3.8
用户头像
hello .................................................................................................................................................
$30 USD 在1天之内
4.9 (5条评论)
2.8
2.8
用户头像
hi, i had implemented the same hashmap data structure with separate chaining once. so i can do this one easily for you..
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Greetings! I'm interested to work on this project. I've started my freelancing career 10 minutes ago. I know it's must be hard to pick someone who really doesn't have any reviews or feedback. But I assure you that i won't disappoint you. This project deserves a bit more. But as I'm new , all I'm looking for is some ''Good" reviews by the employer. Thanks. Hope to hear from you soon. I believe you'll at least give me a chance to proof myself.
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
i can do it..........................................................................................................................................
$100 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
hi there, i'm a master's student in computer science. you can intrust this task to me and you won't regret it. good luck
$55 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, what you yourself feel happy to pay ? you tell me. i just want to work. I will take what you will be happy to pay. Dont fear, this xxx $ is just a filling of position. i may work in C, C++, SQL, Verilog, Fortran, Web Design, Graphics, Logo, Report Writing, Content Writing, Data Entry..... i think i can do it. Once it is done then quality may be made according to the desired. I will try my best to satisfy the requirements. Thanks.
$25 USD 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Sunnyvale, United States
5.0
4
付款方式已验证
会员自3月 30, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。