Exemple #1
0
        public List <int> Go()
        {
            SinglyLinkedListImpl imp  = new SinglyLinkedListImpl();
            ILinkedNode <int>    root = new LinkedNode <int>();

            imp.FillLinkedList(root);
            Sort(root);
            return(new List <int>());
        }
        public List <int> Go()
        {
            SinglyLinkedListImpl imp       = new SinglyLinkedListImpl();
            ILinkedNode <int>    rootfirst = new LinkedNode <int>();
            ILinkedNode <int>    rootsec   = new LinkedNode <int>();

            imp.FillLinkedList(rootfirst, true);
            imp.FillLinkedListS(rootsec, true);
            //Merge(rootfirst, rootsec);
            ILinkedNode <int> merged = MergeLists(rootfirst, rootsec);

            return(new List <int>());
        }