<commit_before>/*
8th of April 2017
Node class for different structures.
Using chain-inheritance
*/

namespace adt 
{
    class NodeLinkedList
    {
        public Node   next = null;
        public object data = null;
    }

    class NodeDoubleLinkedList : NodeLinkedList
    {
        public Node prev = null;
    }

    class NodeBinarySearchTree : NodeDoubleLinkedList
    {
        public Node right = null;
        public Node left = null;
        public int val = 0;
        
        public Node parent = null;
    }

    // final class
     class Node : NodeBinarySearchTree {}

// public Node   next = null;
// public object data = null;
// public Node   prev = null; // need this for double linked list

// // for trees
// public Node right = null;
// public Node left  = null;
// public int  val   = 0;

}<commit_msg>Added construtors to Node class. Too late for the party lol<commit_after>/*
8th of April 2017
Node class for different structures.
Using chain-inheritance
*/

namespace adt 
{
    class NodeLinkedList
    {
        public Node   next = null;
        public object data = null;
    }

    class NodeDoubleLinkedList : NodeLinkedList
    {
        public Node prev = null;
    }

    class NodeBinarySearchTree : NodeDoubleLinkedList
    {
        public Node right = null;
        public Node left = null;
        public int val = 0;
        
        public Node parent = null;
    }

    // final class
     class Node : NodeBinarySearchTree 
     {
         public Node() {}

         public Node(object _data) { data = _data; }

         public Node(int _val) { val = _val; }
     }

// public Node   next = null;
// public object data = null;
// public Node   prev = null; // need this for double linked list

// // for trees
// public Node right = null;
// public Node left  = null;
// public int  val   = 0;

}
{'fraction_non_alphanumeric': 0.08297180043383948, 'fraction_numerical': 0.007592190889370932, 'mean_word_length': 1.9758064516129032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6456430', 'n_tokens_mistral': 536, 'n_tokens_neox': 513, 'n_words': 196}