diff --git a/ALGA/05_BinarisKeresoFa.cs b/ALGA/05_BinarisKeresoFa.cs new file mode 100644 index 0000000..95a26b1 --- /dev/null +++ b/ALGA/05_BinarisKeresoFa.cs @@ -0,0 +1,40 @@ +using System; + +namespace OE.ALGA; + +public class FaElem where T : IComparable +{ + public T tart; + public FaElem? bal; + public FaElem? jobb; + + public FaElem(T tart, FaElem? bal, FaElem? jobb) + { + this.tart = tart; + this.bal = bal; + this.jobb = jobb; + } +} +public class FaHalmaz : Halmaz where T : IComparable +{ + FaElem? gyoker; + public void Bejar(Action muvelet) + { + throw new NotImplementedException(); + } + + public void Beszur(T ertek) + { + throw new NotImplementedException(); + } + + public bool Eleme(T ertek) + { + throw new NotImplementedException(); + } + + public void Torol(T ertek) + { + throw new NotImplementedException(); + } +}