单项选择题

A.By generating large amount of random inputs and measure the run time empirically 随机生成大量的文本串T和模式串P作为输入,通过实验的方法进行测量
B.By assuming uniform probability distribution for text strings and patterns, and calculating the expectation accordingly 认为所有不同文本串T和模式串P出现的概率是相等的,依此计算时间复杂度的期望
C.By analyzing the different cases when the match succeeds and fails 对于成功匹配和失败匹配两种情况分别讨论其时间复杂度
D.By calculating the expectation assuming a fixed text string and random patterns 选取固定的文本串T,随机选取模式串P,计算时间复杂度的期望

你可能喜欢

A.民族器乐合奏
B.钢琴协奏
C.小提琴独奏
D.琵琶独奏

赞题库

赞题库-搜题找答案

(已有500万+用户使用)


  • 历年真题

  • 章节练习

  • 每日一练

  • 高频考题

  • 错题收藏

  • 在线模考

  • 提分密卷

  • 模拟试题

无需下载 立即使用

版权所有©考试资料网(ppkao.com)All Rights Reserved