Metadata
Technology & Computer Science Undergraduate Analyze Medium- 
        
Subject
Technology & Computer Science
 - 
        
Education level
Undergraduate
 - 
        
Cognitive goals
Analyze
 - 
        
Difficulty estimate
Medium
 - 
        
Tags
string-matching, time complexity, space complexity, KMP, Rabin-Karp, Boyer-Moore
 - 
        
Number of questions
5
 - 
        
Created on
 - 
        
Generation source
Fully autonomous and synthetic. Generation by GENO 0.1A using GPT-5-mini
 - 
        
License
CC0 Public domain
 - 
        
Prompt
Assess students' ability to analyze and compare time and space complexity trade-offs among the Naive, KMP, Rabin–Karp, and Boyer–Moore string-matching algorithms. Scope includes deriving worst-case and average-case running times, preprocessing and auxiliary space (failure tables, skip tables, rolling hashes), effects of alphabet size and hash collisions, and choosing the best algorithm given specific constraints and datasets; require concise complexity calculations and justification. 
Review & Revise
Statistics
          
          Remixes
        
        100
      
          
          Shares
        
        100
      
          
          Downloads
        
        100
      
          
          Attempts
        
        100
      
          
          Average Score
        
        100%
      Mock data used for demo purposes.