Answer the question
In order to leave comments, you need to log in
How to develop a function that takes a list of integers and determines the longest continuous string of identical numbers in it?
Good afternoon.
I recently got a quick look at f#. Help solve the problem:
Develop a function that receives a list of integers, determines the longest continuous chain of identical numbers in it. The result of the function must be a pair (number, chain length)
Answer the question
In order to leave comments, you need to log in
I support @kynisa . The problem is something out of the textbook. It's true that I don't know much about F#, but it seems to me that even basic syntax knowledge is enough :)
Good luck ;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question