Synopsys interview question

DS algorithm problem-solving puzzles etc were asked