give integer array size n find element appear n3 times Example 1input num 323Output 3example 2input num 1Output 1example 3input num 12Output 12 Constraints1 numslength 5 104109 numsi 109 Follow could solve problem linear time O1 space