Beispiel #1
0
        private void StringFunctions_Click(object sender, EventArgs e)
        {
            StringProblems functions = new StringProblems();

            //functions.permutation("abcd".ToCharArray(), 0);

            functions.reverseWord("This is a book");
        }
Beispiel #2
0
        private void StringFunctions_Click(object sender, EventArgs e)
        {
            StringProblems functions = new StringProblems();


            functions.permutation("abcd".ToCharArray(), 0);
            char[] arr = new char[4];
            functions.combination("abc".ToCharArray(), 3, 0, new StringBuilder());

            functions.reverseWord("This is a book.");

            StringProblem.StringProblems.DeleteBandACfromString("bcabcacabca".ToCharArray());
            StringProblem.StringProblems.countWords("this is a book.");
            StringProblem.StringProblems.compressString();
            StringProblem.StringProblems.deCompressString();
        }