Cody

Problem 1229. Determine the number of odd integers in a vector

Created by Jeremy in Community

Determine the number of unique odd integers in a vector.

Examples:

Input x = [2 5 8 3 7 1];
Output y = 4;
Input x = [2 5 9];
Output y = 2;

Solution Stats

37.58% Correct | 62.42% Incorrect
Last solution submitted on May 21, 2019

Problem Comments