Sha256: bb5fee132d75f1f9f5866540a7c31efb72a86ccd98b3d7cc3cd8137ab4776a1d

Contents?: true

Size: 1.53 KB

Versions: 257

Compression:

Stored size: 1.53 KB

Contents

using System;

public class BinTree<T>
{
    public BinTree(T value, BinTree<T> left, BinTree<T> right)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public T Value { get; }
    public BinTree<T> Left { get; }
    public BinTree<T> Right { get; }
}

public class Zipper<T>
{   
    public T Value
    {
        get
        {
            throw new NotImplementedException("You need to implement this function.");
        }
    }

    public Zipper<T> SetValue(T newValue)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public Zipper<T> SetLeft(BinTree<T> binTree)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public Zipper<T> SetRight(BinTree<T> binTree) 
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public Zipper<T> Left()
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public Zipper<T> Right()
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public Zipper<T> Up()
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public BinTree<T> ToTree()
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public static Zipper<T> FromTree(BinTree<T> tree)
    {
        throw new NotImplementedException("You need to implement this function.");
    }
}

Version data entries

257 entries across 257 versions & 1 rubygems

Version Path
trackler-2.2.1.155 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.154 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.153 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.152 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.151 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.150 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.149 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.148 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.147 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.146 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.145 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.144 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.143 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.142 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.141 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.140 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.139 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.138 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.137 tracks/csharp/exercises/zipper/Zipper.cs
trackler-2.2.1.136 tracks/csharp/exercises/zipper/Zipper.cs