Question: Using the Heap.cs and IHeapifyable to pass all tests in Tester.cs The first 2 images are the tester class. The words that are cut off

Using the Heap.cs and IHeapifyable to pass all tests in Tester.cs
The first 2 images are the tester class. The words that are cut off on the right hand side aren't relevant as they aren't part of the logic.
The 4rd image is the Heap.cs. This is what we need to adjust to ensure all the tests in tester class are passed.
We also have the IHeapifyable.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _8._1C_Heaps
{
public interface IHeapifyable
{
K Key { get; set; }
D Data { get; set; }
int Position { get; set; }
}
}
Currently it only pass A D and E tests:
------------------- SUMMARY -------------------
Tests passed: A--DE-----
 Using the Heap.cs and IHeapifyable to pass all tests in Tester.cs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!