You are given an integer array
numsof odd lengthn.Return
trueif the middle element ofnumsappears exactly once in the array. Otherwise returnfalse.
1 | class Solution { |
You are given an integer array
numsof odd lengthn.Return
trueif the middle element ofnumsappears exactly once in the array. Otherwise returnfalse.
1 | class Solution { |