Completed

Implement simple data structure in C++ - 29/04/2018 17:53 EDT

Hello, I need two simple linkedlist data structures implemented in C++.

Here are specifications for both. These must be implemented as classes, not structs.

1) Create a doubly connected linkedlist class. Each node should store two pointers, called next and prev.

The functions to include for this linkedlist are:

-Insertion − Adds an element at the beginning of the list.

-Deletion − Deletes an element at the beginning of the list.

-Insert Last − Adds an element at the end of the list.

-Delete Last − Deletes an element from the end of the list.

-Insert After − Adds an element after an item of the list.

-Delete − Deletes an element from the list using the key

Encapsulate the class such that a user does not have access to nodes (The nodes should not be accessible from a linkedlist object).

Create an iterator for this linkedlist (Should iterate from head to tail).

2) Create a priority_linkedlist class. Data of each node becomes priority of that node. There should be only one insert function (push) that inserts the item based on its priority. The highest priority item is the head of the list. The pop function removes the highest priority item and return its value. The top function is the same as pop but does not remove the item.

No iterator for this linkedlist.

Both linkedlist classes should include all the specifications and work correctly and safe. The classes should be separated into two different .cpp/.h files ([url removed, login to view] and [url removed, login to view]). I would like this to be completed within the next few hours if possible. Thanks

Habilidades: Programação C++

Veja mais: tree data structure c, heap data structure c, graph data structure c, disjoint set data structure c code, data structure c tutorial, binary tree data structure c, data structure simple project, simple data structure program project, implement dynamic data structure mimics, simple index file data structure, implement dynamic data structure mimics simple web browsing, implement dynamic data structure, stack simple java data structure, simple project data structure, simple program data structure

Acerca do Empregador:
( 10 comentários ) New York, United States

ID do Projeto: #16826905

Concedido a:

faizi404

I already have both these implemented in c++ as my semester assignment. You can check it on TeamViewer and after that you can award me project. Moreover I will also teach you the code. I also have many data structures Mais

$35 USD em 1 dia
(1 Comentário)
1.1

6 freelancers estão ofertando em média $37 para esse trabalho

$50 USD em 1 dia
(180 Comentários)
6.2
CPythonMan

How are you? i can help you and i will help you continuously in the future i am C ++ C# C language expert. I have much experiences in building wallet with Qt on Mac, Linux and Windows. I am interested in your proj Mais

$50 USD em 1 dia
(9 Comentários)
4.5
$30 USD em 1 dia
(11 Comentários)
3.9
visionoids

Hello there Your project requirements are so beautiful we will definitely enjoy doing it < I am interested in your project we are bunch of guys and working together and we are all computer science graduates i Mais

$25 USD em 1 dia
(0 Comentários)
0.0
aminekhaledfreel

i can do it for you professionaly in one day

$30 USD em 1 dia
(0 Comentários)
0.0