Show / Hide Table of Contents

    Class TreeSort<T>

    A tree sort implementation.

    Inheritance
    Object
    TreeSort<T>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Advanced.Algorithms.Sorting
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class TreeSort<T>
        where T : IComparable
    Type Parameters
    Name Description
    T

    Methods

    Sort(IEnumerable<T>, SortDirection)

    Time complexity: O(nlog(n)).

    Declaration
    public static IEnumerable<T> Sort(IEnumerable<T> enumerable, SortDirection sortDirection = SortDirection.Ascending)
    Parameters
    Type Name Description
    IEnumerable<T> enumerable
    SortDirection sortDirection
    Returns
    Type Description
    IEnumerable<T>
    Back to top Generated by DocFX