Problem

Return middle value after sorting odd length.

Examples

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