Practice with Rena's hints.
Rena points you at the case or the idea you are missing and does not write the code. No opponent and no clock.
Practice with hintsBrute force passes the samples, nice. Before you lock it in, try an empty array and a repeated value.