Lecture 1 String and Language University of Texas at 讲座1字符串和语言德克萨斯大学.pptVIP

  • 2
  • 0
  • 约7.05千字
  • 约 36页
  • 2017-03-07 发布于上海
  • 举报

Lecture 1 String and Language University of Texas at 讲座1字符串和语言德克萨斯大学.ppt

Lecture 1 String and Language University of Texas at 讲座1字符串和语言德克萨斯大学

Lecture 1 String and Language String string is a finite sequence of symbols. For example, string ( s, t, r, i, n, g) CS4384 ( C, S, 4, 3, 8) 101001 (1, 0) Symbols are given through alphabet. An alphabet is a finite set of symbols. Examples of Alphabet {a, b, c, ..., x, y, z} (Roman alphabet) {0, 1, ..., 9} {0, 1} (binary alphabet) Length of a String The length of a string x is the number of symbols contained in the string x, denoted by |x|. For example, | string | = 6, |CS5400| = 6, | 101001 | = 6. The empty string is a string havin

文档评论(0)

1亿VIP精品文档

相关文档