Problem

Return middle element (odd length).

Examples

  • middleElementOdd([1, 2, 3]) -> 2
Compile and test (Ctrl+Enter)