public static MyLinkedListNode GetLinkedListSingly_Serial(int min, int max)
        {
            MyLinkedListNode root = new MyLinkedListNodeSingly(min, null);
            MyLinkedListNode prev = root;

            for (int i = min + 1; i <= max; i++)
            {
                MyLinkedListNode next = new MyLinkedListNodeSingly(i, null);
                prev.SetNext(next);
                prev = next;
            }
            return(root);
        }
        public static MyLinkedListNode LinkedListWithValue(int N, int value)
        {
            MyLinkedListNode root = new MyLinkedListNodeDoubly(value, null, null);
            MyLinkedListNode prev = root;

            for (int i = 1; i < N; i++)
            {
                MyLinkedListNode next = new MyLinkedListNodeDoubly(value, null, null);
                prev.SetNext(next);
                prev = next;
            }
            return(root);
        }
        public static MyLinkedListNode GetLinkedListSingly_Random(int N, int min, int max)
        {
            MyLinkedListNode root = new MyLinkedListNodeSingly(AssortedMethods.RandomIntInRange(min, max), null);
            MyLinkedListNode prev = root;

            for (int i = 1; i < N; i++)
            {
                int data = AssortedMethods.RandomIntInRange(min, max);
                MyLinkedListNode next = new MyLinkedListNodeSingly(data, null);
                prev.SetNext(next);
                prev = next;
            }
            return(root);
        }