-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
ExerciseThe exercises that are introduced in the lectures.The exercises that are introduced in the lectures.
Description
Consider an algorithm that takes as input a 0-1 sequence of exactly five symbols, and returns 1 if such sequence contains at least three consecutive 1s, and returns 0 otherwise. Implement such algorithm with a Turing machine, where the cell correspondent to the starting position of the head is where the final result must be stored, while the following five cells are initialised with the 0-1 sequence of five symbols used as input of the algorithm.
Metadata
Metadata
Assignees
Labels
ExerciseThe exercises that are introduced in the lectures.The exercises that are introduced in the lectures.