Bob is given a sequence of integersaaof lengthnnin a math exam. The exams itself contains questions of formL,RL,R, for each of them he is asked to find any subsequencebbwith size greater than22(i.e.|b|≥3|b|≥3)of sequenceaL,aL+1,…,aRaL,aL+1,…,aR. ...