1. 程式人生 > >資料結構與演算法MOOC-第四章字串練習題解析彙總

資料結構與演算法MOOC-第四章字串練習題解析彙總

  • 資料結構與演算法MOOC-第四章字串練習題解析彙總


  • 1:合格的字串

OpenJudge-合格的字串

  • 2:去除C程式中的註釋

OpenJudge-去除C程式中的註釋

  • 3:全在其中

POJ 938/UVA 10340-All in All(全在其中)

  • 4:字串乘方

KMP-(POJ 2406)Power Strings[字串乘方]

  • 5:英語數字轉換器

字串-POJ/UVA 486-English-Number Translator(英語數字轉換器)

  • 6:統計字元數

vector/map-OpenJudge-統計字元數

  • 7:Caesar 密碼

POJ 1298-The Hardest Problem Ever(Caesar 密碼)

  • 8:古代密碼

思維-POJ 2159-Ancient Cipher

  • 9:字首中的週期

KMP-(HDU1358)Period[字首中的週期]

  • 10:擠奶網格

二維KMP-OpenJudge-擠奶網格

  • 11:Seek the Name, Seek the Fame

KMP-(POJ 2752)Seek the Name, Seek the Fame