When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Longest palindromic substring - Wikipedia

    en.wikipedia.org/wiki/Longest_palindromic_substring

    Longest palindromic substring. In computer science, the longest palindromic substring or longest symmetric factor problem is the problem of finding a maximum-length contiguous substring of a given string that is also a palindrome. For example, the longest palindromic substring of "bananas" is "anana". The longest palindromic substring is not ...

  3. In-place algorithm - Wikipedia

    en.wikipedia.org/wiki/In-place_algorithm

    In computer science, an in-place algorithm is an algorithm that operates directly on the input data structure without requiring extra space proportional to the input size. In other words, it modifies the input in place, without creating a separate copy of the data structure. An algorithm which is not in-place is sometimes called not-in-place or ...

  4. Shunting yard algorithm - Wikipedia

    en.wikipedia.org/wiki/Shunting_yard_algorithm

    In computer science, the shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. It can produce either a postfix notation string, also known as Reverse Polish notation (RPN), or an abstract syntax tree (AST). [ 1 ] The algorithm was invented by Edsger Dijkstra ...

  5. LeetCode - Wikipedia

    en.wikipedia.org/wiki/LeetCode

    LeetCode LLC, doing business as LeetCode, is an online platform for coding interview preparation. The platform provides coding and algorithmic problems intended for users to practice coding . [ 1 ] LeetCode has gained popularity among job seekers in the software industry and coding enthusiasts as a resource for technical interviews and coding ...

  6. Suffix tree - Wikipedia

    en.wikipedia.org/wiki/Suffix_tree

    In computer science, a suffix tree (also called PAT tree or, in an earlier form, position tree) is a compressed trie containing all the suffixes of the given text as their keys and positions in the text as their values. Suffix trees allow particularly fast implementations of many important string operations.

  7. String (computer science) - Wikipedia

    en.wikipedia.org/wiki/String_(computer_science)

    The reverse of a string is a string with the same symbols but in reverse order. For example, if s = abc (where a, b, and c are symbols of the alphabet), then the reverse of s is cba. A string that is the reverse of itself (e.g., s = madam) is called a palindrome, which also includes the empty string and all strings of length 1.

  8. Trie - Wikipedia

    en.wikipedia.org/wiki/Trie

    Each complete English word has an arbitrary integer value associated with it. In computer science, a trie (/ ˈtraɪ /, / ˈtriː /), also called digital tree or prefix tree, [ 1 ] is a type of search tree: specifically, a k -ary tree data structure used for locating specific keys from within a set. These keys are most often strings, with links ...

  9. Longest common substring - Wikipedia

    en.wikipedia.org/wiki/Longest_common_substring

    The set ret is used to hold the set of strings which are of length z. The set ret can be saved efficiently by just storing the index i, which is the last character of the longest common substring (of size z) instead of S[i-z+1..i]. Thus all the longest common substrings would be, for each i in ret, S[(ret[i]-z)..(ret[i])].