Find Jobs
Hire Freelancers

need a java program with the below requirements

₹600-1500 INR

Imekamilika
Imechapishwa about 4 years ago

₹600-1500 INR

Kulipwa wakati wa kufikishwa
Write a program in Java to implement the max-priority queue using max-heap data structure. Implement the max-heap data structure using an integer array of 10 cells. (Do not use Java in-built PriorityQueue class.) [In a max-heap, the root node and the intermediate node vales are always greater than their children.] First, take 10 integer values from the user and insert them in the max-priority queue. Then print the elements of the queue. After that, delete two elements from the queue and print them. You can use Java Scanner class to take inputs from the user. The sample inputs/ outputs are given below: Sample inputs and outputs: (User’s inputs are 5 15 9 7 20 18 8 6 1 11) Enter 10 values: 5 15 9 7 20 18 8 6 1 11 The elements of the max-priority queue: 20 15 18 6 11 9 8 5 1 7 The element removed after first deletion: 20 The element removed after second deletion: 18
Kitambulisho cha mradi: 24560702

Kuhusu mradi

5 mapendekezo
Mradi wa mbali
Inatumika 4 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
I can complete this in 4 hours. I am experienced in Java and Data Structures. Looking forward to working with you.
₹1,000 INR ndani ya siku 1
5.0 (7 hakiki)
3.0
3.0
5 wafanyakazi huru wana zabuni kwa wastani ₹1,480 INR kwa kazi hii
Picha ya Mtumiaji
Hello I can start working on this assignment right away and get it implemented in the next 4 to 6 hours. Let me know if you are interested. Thanks Gokul
₹2,500 INR ndani ya siku 1
5.0 (94 hakiki)
6.1
6.1
Picha ya Mtumiaji
Hello, I have 10+ years of experience in java application design and development. I will do it. Please message me for further discussion.
₹1,500 INR ndani ya siku 1
4.9 (89 hakiki)
5.4
5.4
Picha ya Mtumiaji
Hello, I am a Java developer experienced in implementing such structures & algorithms. I can build the max-heap as required and provide proper documentation. Past project: - Java queue in simulation & modeling Kindly reply via chat.
₹1,350 INR ndani ya siku 2
5.0 (6 hakiki)
2.6
2.6

Kuhusu mteja

Bedera ya UNITED STATES
Macomb, United States
0.0
0
Njia ya malipo imethibitishwa
Mwanachama tangu Mac 22, 2020

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.