News

A matrix, like a crossword puzzle or a DNA sequence, is a two-dimensional array of characters. To find a pattern in a matrix, a dynamic programming algorithm can be used to compare the pattern ...
It is possible to determine which character features at a position within a string: wordOne[2] - would give the answer "m", as "m" is the third character in the word “Computer” (remember ...
It is possible to find part of a string by using a subString (a bit, or part, of a string) method. Remember that the first character in the string starts at reference 0. For example, select a ...
How to use single and double quotation marks in strings? In all programming languages, you must open and close your string with quotation marks, but you don't have to, if your interpreter doesn't ...
while the second is a dynamic programming algorithm with a fast (i.e. polynomial) running time. Both algorithms solve the problem of finding the longest common subsequence of two strings. More ...