Program to implement the heap sort algorithm which RETURNS THE NUMBER OF COMPARISONS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Program to implement the heap sort algorithm which RETURNS THE NUMBER OF COMPARISONS

16th Jan 2020, 5:39 PM
Aditya
Aditya - avatar
3 Answers
+ 5
Hi, and welcome to SoloLearn! If you have a valid programming related question, then please do post it here. If you are seeking free answers for your homework due next week, then you are in the wrong place. Please attempt to complete your homework, and if you get stuck or have questions, then post a question here in the Q&A with your code attempt, and we'll be more than happy to help. Show some effort mate. Good luck, and happy coding! https://www.sololearn.com/discuss/1316935/?ref=app
21st Jan 2020, 1:27 PM
Tony
Tony - avatar
+ 5
I am not asking about homework question..... the fact is I have the source code but I only feel stuck...... counting the number of iterations.... and as per homework is concerned...... if I start posting about them..... I would prove myself really silly..... ๐Ÿ˜ž๐Ÿ˜ž..... which eventually I'm not I suppose, ๐Ÿ˜–
22nd Jan 2020, 9:38 AM
Aditya
Aditya - avatar
+ 3
#ditched thanks for the clarification! As I mentioned before, if you want a good answer from the community members, please do post a very specific question, with all the relevant details you can possibly give, and you will get better results. Most of the community will look at how much effort a poster puts into making their question clear and easy to understand, before they attempt to help. So just a pointer, make your question as clear as possible, with all the details, code samples, and where you are getting stuck. Cheers!
22nd Jan 2020, 4:52 PM
Tony
Tony - avatar