BFconsecutive_numbers.sql
T-SQL 5.4
Not run yet
+ 7 hidden
Input
sensor_log tick_id signal_value 1 4 2 4 3 4 4 2 5 4 6 2 7 2
Expected
[{"repeated_value": 4}]Ticks 1 to 3 all read 4, so 4 is returned. Its fourth reading at tick 5 stands alone, and 2 is read three times but never on three ticks in a row.