Lukket

need help in c++

You may only answer 3 questions out of the following options. Please zip all files together for submission.

1. Create a class Node that has three private member data; int val, int freq, int dest. Create a map of nodes, randomly create nodes with random val and dest (between 1 and 20) and freq 1. Add these random nodes to the map, if a node is generated that is already in the map, increase the freq by one. Allow the user to input N, the number of nodes to be created, after all have been created display the contents of the map and their frequencies.

2. Create a class Leaf, each leaf has private data of an int id. Create a list of queues of Leaf objects.

Ask the user how many Leaf objects they want, generate the Leaf objects randomly with id being from a normal distribution with a mean of 50, standard deviation of 10. All objects with 0<=id<10 should be in their own queue, 10<=id<<20 in their queue, 20<=id<30 etc. After all Leaf objects have been generated, sort the queues, make sure they have unique entries (no id appears more than once) then display the contents of the list of queues.

3. Create a class node with private member data of int id (0 to 10) and char ctype (A to Z), generate random nodes and place them into a list. Sort the list according to id and display them, then move them from the list to a priority queue (basing on the ctype) and then display the contents of the queue.

4. Create a stl list (of integers). Provide a menu to access the basic functions of a list,

a. push_front,

b. push_back,

c. insert(iterator),

d. pop_front,

e. pop_back,

f. erase(iterator),

g. display contents.

All list functions should work and will be tested.

HOWEVER, provide in the menu the option to mimic the behavior of a stack.

h. Convert to stack behavior

If that option is selected you must implement all stack functionality, and prohibit functions that are not supposed to work, you are NOT to use a stack, you are to still you a list but when an illegal option is selected, an error message should appear. Once again, all data will be still in the list, but your interface will make it behave as a stack.

5. Create a Node class that has two integer PMD, int id and int wt, Ask the user how many nodes are desired then generate random Nodes and load them into a binary tree of these nodes based on their id values. ids are random (1 to 100) and wts are random (1 to 10). Beginning at the root, perform a dijkstra’s algorithm analysis to determine the cost to reach each and every node in the tree if you begin at the root of the binary tree.

Evner: Algoritme, C programmering, C# Programmering, C++ Programmering, Software Arkitektur

Se mere: c++ helper, c++ homework help reddit, computer programming help, c++ program solver, do my c++ homework, c++ help forum, ask c++ questions online, c++ help discord, mp3 files need help transcribing, need help adding google adsense site, freelance need help wsdl file, open source projects need help, need help text website, need help in c programming, how can you get imail adress write a rich people need help and how can are send my imail adresss to a rich for help money or fix, need help with c# programming, write a summary of the areas that you need help with, do you need help to translate ancient archives or documents, do you need help with immigration to australia, i need help with c++ programming

Om arbejdsgiveren:
( 388 bedømmelser ) Mutrah, Oman

Projekt ID: #19394606

15 freelancere byder i gennemsnit $50 på dette job

utkarshkatiyar19

Hi I'm an expert in C++ programming. I'm sure that I can easily do this project. We can have a about it. Thanks..

$50 USD på 1 dag
(383 bedømmelser)
7.3
wangbeizou

Hello. How are you today. I have read and understood this task. I have a lots of experience and very good knowledge of Data structures, Algorithms Design, Computer Architecture. And I'm expert in C/C++ etc. I' Flere

$35 USD på 1 dag
(205 bedømmelser)
6.6
wizard2015

Hello, I am experienced programmer and can help you with this task. Please contact me if you are interested in cooperation.

$180 USD in 2 dage
(97 bedømmelser)
6.5
kipdev13

Hello, Sir. I have sufficient experience and skill in C/C++ programming. I can satisfy your project in time. I believe you will select me. Thank you.~H~

$30 USD på 1 dag
(104 bedømmelser)
6.2
fastestJohn

Hello. I have just read your proposal in detail. I am very interested in your project. I am a C and C++ expert as you can see through my reviews. I have rich experiences and have taken part in programming contests. Flere

$150 USD in 3 dage
(37 bedømmelser)
5.5
usamamw141

Hey there, I am expert in C++ and I can do this project within few hours, Feel free to inbox me now Hey there, I am expert in C++ and I can do this project within few hours, Feel free to inbox me now

$25 USD på 1 dag
(84 bedømmelser)
5.4
dungforever

Hi I have read your requirement carefully. It's a great chance to introduce my skill. I am a talented software developer with over 11+ years experience. Algorithm, AI, GA is my major. I have full experience in C/ Flere

$50 USD på 1 dag
(58 bedømmelser)
5.6
prakash9125

Hi, To bid this project i have working experience in C/C++ over 6 years and mostly worked on LINUX/Window machine. I think this project can be done using C or C++ over Linux Platform . I have done many project like Flere

$25 USD in 4 dage
(8 bedømmelser)
2.5
lizzymoore8543

I'm a Statistics analyst with over 8 years experience in Software & Web Development in both national and international market. My Expertise: Web Site - (PHP frameworks ,SPSS, Mintab, Joomla, Wordpress, Magento,Laravel, Flere

$10 USD på 1 dag
(1 bedømmelse)
0.0
Rjnj

Hudson Agile Technologies LLC – A New Jersey Firm. Entity ID – 0450219485 We are head quartered in 30 Knightsbridge Rd Suite 525, Piscataway Township, NJ 0885 We are a Software Technology Outsourcing consulting Flere

$25 USD på 1 dag
(0 bedømmelser)
0.0
vikashshah

Hello Sir, I have read your requirement and understood that you are looking a windows developer/ web application and software developer for your project. We have 6+ years experienced windows developer team and we Flere

$25 USD på 1 dag
(0 bedømmelser)
0.0
rajeshbec05

- 11+ years of experience C/C++ development on various product in Security domain, Embedded domain. - Strong technology experience in analysis, design, development & implementation of object-oriented technology, desig Flere

$66 USD in 3 dage
(0 bedømmelser)
0.0
talhatahir05

Hello, I saw your project. I want to do it in less then one day. My main focus is give you a good result according to your requirements. Hope you get a good result after hiring me. Thanks!

$20 USD på 1 dag
(0 bedømmelser)
0.0
mcvidiri

Hello. I will be glad to assist you in this data structures C++ project. Is there any preference on which 3 questions you prefer to be submitted?

$30 USD in 2 dage
(0 bedømmelser)
0.0
woruo

I am a new freelancer but I have millions of lines code in algorithms and data structures. I can solve your problem in one hour if you choose me. I can solve problem 3,4,5. We can talk more about your project, please c Flere

$30 USD in 3 dage
(1 bedømmelse)
0.0