about | help | code help+videos | done | prefs |
The mode of a set of numbers is the number that occurs most frequently. Given 3 positive integers, return the mode of those integers. If there is no mode (each value occurs exactly once), return -1. mode3(4, 7, 4) → 4 mode3(4, 4, 4) → 4 mode3(1, 2, 3) → -1 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy