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 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 rd 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 CHeaps
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: ADE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
