File size: 662 Bytes
8149750
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
pattern_id,trade_days_in_window,distinct_utc_days,result,explanation
A,"1,2,3,4,5",5,qualifies,Five consecutive UTC dates at the start
B,"1,3,5,7,9",5,qualifies,"Every other date, finishing on day 9"
C,"2,4,6,8,10",5,qualifies,"Every other date, finishing on the last day with no spare"
D,"1,1,1,2,3",3,does not qualify,Three trades on day 1 count as one date
E,"1,2,3,4",4,does not qualify,Only four distinct dates reached
F,"1,2,3,4,12",4,does not qualify,The fifth date is outside the 10-day period
G,"1,2,2,5,6,9",5,qualifies,Repeat on day 2 is ignored but five distinct dates remain
H,"6,7,8,9,10",5,qualifies,"Late start that still fits, with zero margin"