Preprocessing and Data Structures