// Make a simple function that returns the minimum value of 0 or more integers. Without using builtins such as Math.min(), etc. // example: [6, 2, 33, -3, 3, 6, 10, -1] should return -3
Anonymous
simple loop that keeps track of min value... just brute force would give O(N) time and O(1) space
Check out your Company Bowl for anonymous work chats.