about | help | code help+videos | done | prefs |
withoutSingleOdd
Given an integer array nums that contains exactly one odd number, return a new array with a length one less that contains all the values of nums except that single odd number. withoutSingleOdd([2, 3, 6]) → [2, 6] withoutSingleOdd([8, 2, 2, 4, 4, 5]) → [8, 2, 2, 4, 4] withoutSingleOdd([8, 2, 7, 4, 6]) → [8, 2, 4, 6] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy