private void button3_Click(object sender, EventArgs e)
        {
            KarthicLinkedList linkedlist = NodeHelper.GetLinkedListByString(this.textBox1.Text);
            //Make it circular
            Node node = new Node();

            //this is just a hack to make list cirucular...there might be good way to do this
            //it won't work for no loop
            foreach (Node n in linkedlist)
            {
                if (n.Data == linkedlist.lastnode.Data)
                {
                    node = n;
                    break;
                }
            }

            linkedlist.lastnode.Next = node;

            Node startloop = GetLoopStartNode(linkedlist.headnode);

            this.textBox2.Text = startloop.Data.ToString();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            KarthicLinkedList linkedlist = NodeHelper.GetLinkedListByString(this.textBox4.Text);

            this.textBox3.Text = IsPalindrome(linkedlist.headnode) == true ? "Palindrome" : "Not a Palindrome";
        }
        private void button5_Click(object sender, EventArgs e)
        {
            KarthicLinkedList linkedlist = NodeHelper.GetLinkedListByString(this.textBox10.Text);

            this.textBox9.Text = NodeHelper.GetStringByNode(MergeSort(linkedlist.headnode));
        }