Skip to content

Commit

Permalink
the new standard not implemented messages
Browse files Browse the repository at this point in the history
  • Loading branch information
michalporeba committed Jan 26, 2024
1 parent 1df3bd4 commit a8fd858
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions exercises/practice/binary-search-tree/BinarySearchTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,17 @@
public class BinarySearchTree<T> where T : IComparable
{
public int Count
=> throw new NotImplementedException("You need to implement this property.");

public int Depth
=> throw new NotImplementedException("You need to implement this property.");
=> throw new NotImplementedException("Please implement the Count property of the BinarySearchTree<T> class.");

public void Add(T value)
=> throw new NotImplementedException("You need to implement this method.");
=> throw new NotImplementedException("Please implement the Add(T) method of the BinarySearchTree<T> class.");

public bool Contains(T value)
=> throw new NotImplementedException("You need to implement this method.");
=> throw new NotImplementedException("Please implement the Contains(T) method of the BinarySearchTree<T> class.");

public string ToJson()
=> throw new NotImplementedException("You need to implement this property.");
=> throw new NotImplementedException("Please implement the ToJson() method of the BinarySearchTree<T> class.");

public IEnumerable<T> GetOrderedValues()
=> throw new NotImplementedException("You need to implement this propertly.");
public IEnumerable<T> GetOrderedValues()
=> throw new NotImplementedException("Please implement the GetOrderedValues() method of the BinarySearchTree<T> class.");
}

0 comments on commit a8fd858

Please sign in to comment.