Pergunta de entrevista da empresa Forcepoint

Check if the array can be partitioned into 3 sets of equal sum ?