Create an application that has two heaps place a linked

Assignment Help C/C++ Programming
Reference no: EM13372108

Create an application that has two heaps. Place a linked list into each heap. Select one hundred random numbers. Place each of the random numbers into each heap - in the order selected.

Linked list number 1, in heap 1, should sort the numbers in ascending order. Linked list number 2, in heap 2, should sort the numbers in descending order. The sort algorithms used should sort the data elements in less than O(n2).

Once each of the linked lists is sorted, the numbers should be printed.

Your program must use two linked lists. Each linked list must be in an independent heap - not the default heap.

Your program can use multiple threads, if you desire.

Turn in a printed copy of your program source as well as including the source on floppy disk, CD, or thumb drive (no executable files) or email the program source, by pasting it into an email (no attachments), to the instructor. Insure your name is on all materials.

Programs will be graded based upon program correctness, good programming techniques, style, and user interface.

Late programs will be accepted only if circumstances dictate (death of an immediate family member, verifiable illness, military tour duty, etc).

This programming assignment is an individual assignment. Please don't violate McKendree University's plagiarism or cheating policies.

Reference no: EM13372108

Questions Cloud

A complete marketing plan for the following projectthe : a complete marketing plan for the following projectthe purpose of the final project is to apply the concepts and
Part 1identify the role of the third variablefor questions : part 1identify the role of the third variablefor questions 1-5 choose which of the following best describes the third
Part-11 define this new testament greek terms eauggelion : part-11. define this new testament greek terms eauggelion maranatha pneuma and fikklesia.2. define these terms
How is it possible for cytokines erythropoietin and : how is it possible for cytokines erythropoietin and thrombopoietin to affect the concentrations of formed elements in
Create an application that has two heaps place a linked : create an application that has two heaps. place a linked list into each heap. select one hundred random numbers.
Project code in visual studio console application and class : project code in visual studio console application and class librarythe padi project aims at implementing a simplied
Suppose you present overview of computers and software to : suppose you present overview of computers and software to individuals who have not utilized computers extensively and
Prepare a research paper on great depressionthe encarta : prepare a research paper on great depressionthe encarta website gives a geneal overview of what youll need. you can
Write a persuasive essay using apa format on a given : write a persuasive essay using apa format on a given commodity.how is the production or trade of plastic bags ethical

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program using the class as defined

Write a program using` the class as defined below. Put the class definition in a separate header file, and put all the functions' code in a separate Resource file.

  Prepare a linear support vector machine svm

Write a computer program to prepare a Linear Support Vector Machine SVM

  Write a program that keeps an employee database

Using C++, Write a program that keeps an employee database in a random-access file. Implement functions for adding and removing employees. You need not keep employees in sorted order.

  We wish to process survey results

Suppose we wish to process survey results that are stored in a file. This exercise requires twoseparate programs. First, create a program that prompts the user for survey responses and outputseach response to a file

  Demonstrate the construction and output of an array

In fluid mechanics, the Reynolds number (Re) is a dimensionless quantity that is used to help predict similar flow patterns in different fluid flow situations. For example, Reynolds numbers can be computed for different velocities of fluid flow over ..

  Write a program that uses the following arrays empid an

write a program that uses the following arrays empid an array of seven long integers to hold employee identification

  Ruby implement primitive types

How does Ruby implement primitive types, such as those for integer and floating-point data?  3-What is the single most important practical difference between Smalltalk and C++?

  What is printed by the following program

What is printed by the following program?

  Write a corresponding if else statement

The mathematical operation max(x,y,w,z) can be represented by using the conditional expression operator, as in:  max = (x > y && x > z && x > w) ? x : ((y > z && y > w) ? y : ((z > w) ? z : w))  Write a corresponding if else statement that is equival..

  Write a program that will represent an axis-aligned

Write a program that will represent an axis-aligned right triangle in the x-y plane as a Class. A right triangle has a right angle (90-degree angle) and two sides adjacent to the right angle, called legs. See http://en.wikipedia.org/wiki/Right_tri..

  Write a function name is prime

Write a function name is Prime, which takes an integer as an argument and returns true if the argument is a prime number, or false otherwise. Demonstrate the function in a complete program.

  Local diner that allows customers to see the diner''s menu

Design a program to be used for a small local diner that allows customers to see the diner's menu and then make their meal selections using the program.The program will also calculate and print an itemized bill.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd