Biggest Consecutively Repeated Number

Write a function bigrep(ls) that receives a list ls of positive integers
and reports the largest one that appears twice consecutively somewhere
in the list.

Problem information

Author: José Luis Balcázar

Generation: 2026-01-25T17:22:43.800Z

© Jutge.org, 2006–2026.
https://jutge.org
