Question: Write a recursive function in ML that reads an input list of integers (0-9) and returns True, if the list contains a sequence of 325
Write a recursive function in ML that reads an input list of integers (0-9) and returns True, if the list contains a sequence of 325 anywhere in the list as a sequence of CONSECUTIVE elements. For example, [7, 3, 2, 9, 5] should return False. Ratings will be given.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
